diff --git a/src/monitor-control-service/HISTORY.rst b/src/monitor-control-service/HISTORY.rst index c9d4c8c6071..45968cb89a8 100644 --- a/src/monitor-control-service/HISTORY.rst +++ b/src/monitor-control-service/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.3.1 +++++++ +* `az monitor data-collection rule create`: Add json file example for parameter --rule-file. + 0.3.0 ++++++ * `az monitor data-collection rule create`: Add parameter --rule-file. diff --git a/src/monitor-control-service/azext_amcs/manual/_help.py b/src/monitor-control-service/azext_amcs/manual/_help.py index da37ed54af9..0dfd63c71f6 100644 --- a/src/monitor-control-service/azext_amcs/manual/_help.py +++ b/src/monitor-control-service/azext_amcs/manual/_help.py @@ -167,6 +167,28 @@ parameters: - name: --rule-file short-summary: "The json file for rule parameters." + long-summary: | + Usage: --rule-file sample.json + rule json file should be rule parameters organized as json format, like below: + { + "properties": { + "destinations": { + "azureMonitorMetrics": { + "name": "azureMonitorMetrics-default" + } + }, + "dataFlows": [ + { + "streams": [ + "Microsoft-InsightsMetrics" + ], + "destinations": [ + "azureMonitorMetrics-default" + ] + } + ] + } + } examples: - name: Create data collection rule text: |- diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint.yaml index b876b4b543e..2e31521df38 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n --public-network-access User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001","name":"clitest_amcs_endpoints000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","date":"2022-04-21T09:49:54Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001","name":"clitest_amcs_endpoints000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","date":"2023-05-06T07:15:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:00 GMT + - Sat, 06 May 2023 07:15:55 GMT expires: - '-1' pragma: @@ -60,23 +60,23 @@ interactions: ParameterSetName: - -g -n --public-network-access User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dce-6bf72b1e442446c9b5f294a243f33c11","configurationAccess":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Disabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00001c76-0000-3300-0000-626128cf0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:05.1808069Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:05.1808069Z"}}' + string: '{"properties":{"immutableId":"dce-4f98db5feb204578aebf0fd0951ac62c","configurationAccess":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Disabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008305-0000-3400-0000-6455feb30000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:00.3643905Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:00.3643905Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '915' + - '1022' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:09 GMT + - Sat, 06 May 2023 07:16:04 GMT expires: - '-1' pragma: @@ -112,23 +112,23 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dce-6bf72b1e442446c9b5f294a243f33c11","configurationAccess":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Disabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00001c76-0000-3300-0000-626128cf0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:05.1808069Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:05.1808069Z"}}' + string: '{"properties":{"immutableId":"dce-4f98db5feb204578aebf0fd0951ac62c","configurationAccess":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Disabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008305-0000-3400-0000-6455feb30000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:00.3643905Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:00.3643905Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '915' + - '1022' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:12 GMT + - Sat, 06 May 2023 07:16:06 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "kind": "Windows", "properties": {"immutableId": - "dce-6bf72b1e442446c9b5f294a243f33c11", "configurationAccess": {}, "logsIngestion": + "dce-4f98db5feb204578aebf0fd0951ac62c", "configurationAccess": {}, "logsIngestion": {}, "networkAcls": {"publicNetworkAccess": "Enabled"}}}' headers: Accept: @@ -168,23 +168,23 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dce-6bf72b1e442446c9b5f294a243f33c11","configurationAccess":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Windows","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00002576-0000-3300-0000-626128d60000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:05.1808069Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:14.0042181Z"}}' + string: '{"properties":{"immutableId":"dce-4f98db5feb204578aebf0fd0951ac62c","configurationAccess":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Windows","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008805-0000-3400-0000-6455feb80000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:00.3643905Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:07.7216487Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '931' + - '1038' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:16 GMT + - Sat, 06 May 2023 07:16:10 GMT expires: - '-1' pragma: @@ -220,12 +220,12 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001","name":"clitest_amcs_endpoints000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","date":"2022-04-21T09:49:54Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001","name":"clitest_amcs_endpoints000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","date":"2023-05-06T07:15:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -234,7 +234,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:17 GMT + - Sat, 06 May 2023 07:16:11 GMT expires: - '-1' pragma: @@ -267,23 +267,23 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dce-b364c0e7c86d47af830514c42083fdca","configurationAccess":{"endpoint":"https://endpoint2-cc4j.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-cc4j.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2","name":"endpoint2","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00003476-0000-3300-0000-626128e30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:25.0754476Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:25.0754476Z"}}' + string: '{"properties":{"immutableId":"dce-6127685178a746bab93d5a9795524323","configurationAccess":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2","name":"endpoint2","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008905-0000-3400-0000-6455fec90000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:22.9917083Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:22.9917083Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '929' + - '1036' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:29 GMT + - Sat, 06 May 2023 07:16:26 GMT expires: - '-1' pragma: @@ -319,23 +319,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dce-b364c0e7c86d47af830514c42083fdca","configurationAccess":{"endpoint":"https://endpoint2-cc4j.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-cc4j.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2","name":"endpoint2","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00003476-0000-3300-0000-626128e30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:25.0754476Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:25.0754476Z"}}' + string: '{"properties":{"immutableId":"dce-6127685178a746bab93d5a9795524323","configurationAccess":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2","name":"endpoint2","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008905-0000-3400-0000-6455fec90000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:22.9917083Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:22.9917083Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '929' + - '1036' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:32 GMT + - Sat, 06 May 2023 07:16:27 GMT expires: - '-1' pragma: @@ -369,23 +369,23 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dce-6bf72b1e442446c9b5f294a243f33c11","configurationAccess":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Windows","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00002576-0000-3300-0000-626128d60000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:05.1808069Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:14.0042181Z"}},{"properties":{"immutableId":"dce-b364c0e7c86d47af830514c42083fdca","configurationAccess":{"endpoint":"https://endpoint2-cc4j.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-cc4j.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2","name":"endpoint2","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00003476-0000-3300-0000-626128e30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:25.0754476Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:25.0754476Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-4f98db5feb204578aebf0fd0951ac62c","configurationAccess":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Windows","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008805-0000-3400-0000-6455feb80000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:00.3643905Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:07.7216487Z"}},{"properties":{"immutableId":"dce-6127685178a746bab93d5a9795524323","configurationAccess":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint2-vs0z.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2","name":"endpoint2","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008905-0000-3400-0000-6455fec90000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:22.9917083Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:22.9917083Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1889' + - '2103' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:32 GMT + - Sat, 06 May 2023 07:16:31 GMT expires: - '-1' pragma: @@ -421,75 +421,21 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2?api-version=2021-09-01-preview response: body: - string: '{"error":{"code":"ProcessingError","message":"The scope ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-amcs-canary-eeap/providers/Microsoft.Network/dnsZones/eastus2euap-1.handler.canary.control.monitor.azure.com/CNAME/endpoint2-cc4j'' - cannot perform delete operation because following scope(s) are locked: ''/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-amcs-canary-eeap/providers/Microsoft.Network/DNSZones/eastus2euap-1.handler.canary.control.monitor.azure.com''. - Please remove the lock and try again."}}' + string: '' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache - connection: - - close content-length: - - '551' - content-type: - - application/json - date: - - Thu, 21 Apr 2022 09:50:35 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - service - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 500 - message: Internal Server Error -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - monitor data-collection endpoint delete - Connection: - - keep-alive - Content-Length: - '0' - ParameterSetName: - - -g -n -y - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint2?api-version=2021-09-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-01, 2021-09-01-preview - cache-control: - - no-cache date: - - Thu, 21 Apr 2022 09:50:40 GMT + - Sat, 06 May 2023 07:16:39 GMT expires: - '-1' pragma: @@ -505,8 +451,8 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: - code: 204 - message: No Content + code: 200 + message: OK - request: body: null headers: @@ -521,23 +467,23 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.47.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dce-6bf72b1e442446c9b5f294a243f33c11","configurationAccess":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-cdsd.eastus2euap-1.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Windows","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00002576-0000-3300-0000-626128d60000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:05.1808069Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:14.0042181Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-4f98db5feb204578aebf0fd0951ac62c","configurationAccess":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.canary.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://endpoint1-yuwr.eastus2euap-1.metrics.canary.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"eastus2euap","kind":"Windows","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1","name":"endpoint1","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"00008805-0000-3400-0000-6455feb80000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T07:16:00.3643905Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T07:16:07.7216487Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '959' + - '1066' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 09:50:41 GMT + - Sat, 06 May 2023 07:16:40 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml index 65f5f99b2c8..dcb1a34836e 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml @@ -18,49 +18,43 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.43.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"bda9fbfd-6fb8-4fb6-8e3d-8718ed485fd8\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Tue, 03 Jan 2023 04:28:13 GMT\"\r\n },\r\n - \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n - \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": - true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Wed, 04 Jan 2023 01:00:00 GMT\",\r\n \"dataIngestionStatus\": - \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n - \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Tue, 03 Jan 2023 04:28:13 GMT\",\r\n \"modifiedDate\": \"Tue, 03 Jan - 2023 04:28:13 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n - \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" + string: '{"properties":{"customerId":"84c19772-e249-47bb-84be-b6ea4a3e58ab","provisioningState":"Creating","sku":{"name":"CapacityReservation","capacityReservationLevel":100,"lastSkuUpdate":"2023-05-06T08:24:11.0794345Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2023-05-07T01:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-06T08:24:11.0794345Z","modifiedDate":"2023-05-06T08:24:11.0794345Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces"}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview cache-control: - no-cache content-length: - - '1107' + - '870' content-type: - - application/json + - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:28:13 GMT + - Sat, 06 May 2023 08:24:11 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview pragma: - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 server: - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - - ASP.NET status: code: 201 message: Created @@ -78,40 +72,33 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.43.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"bda9fbfd-6fb8-4fb6-8e3d-8718ed485fd8\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Tue, 03 Jan 2023 04:28:13 GMT\"\r\n },\r\n - \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n - \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": - true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": 1.0,\r\n - \ \"quotaNextResetTime\": \"Wed, 04 Jan 2023 01:00:00 GMT\",\r\n \"dataIngestionStatus\": - \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n - \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Tue, 03 Jan 2023 04:28:13 GMT\",\r\n \"modifiedDate\": \"Tue, 03 Jan - 2023 04:28:14 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n - \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" + string: '{"properties":{"customerId":"84c19772-e249-47bb-84be-b6ea4a3e58ab","provisioningState":"Succeeded","sku":{"name":"CapacityReservation","capacityReservationLevel":100,"lastSkuUpdate":"2023-05-06T08:24:11.0794345Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2023-05-07T01:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-06T08:24:11.0794345Z","modifiedDate":"2023-05-06T08:24:11.0794345Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces"}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview cache-control: - no-cache content-length: - - '1107' + - '871' content-type: - - application/json + - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:28:43 GMT + - Sat, 06 May 2023 08:24:12 GMT + expires: + - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 server: - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -122,7 +109,6 @@ interactions: - nosniff x-powered-by: - ASP.NET - - ASP.NET status: code: 200 message: OK @@ -145,49 +131,43 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.43.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2021-12-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"cd205478-b152-4e1b-a362-2dd2a565a201\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Tue, 03 Jan 2023 04:28:47 GMT\"\r\n },\r\n - \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n - \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": - true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Wed, 04 Jan 2023 00:00:00 GMT\",\r\n \"dataIngestionStatus\": - \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n - \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Tue, 03 Jan 2023 04:28:46 GMT\",\r\n \"modifiedDate\": \"Tue, 03 Jan - 2023 04:28:46 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n - \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" + string: '{"properties":{"customerId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","provisioningState":"Creating","sku":{"name":"CapacityReservation","capacityReservationLevel":300,"lastSkuUpdate":"2023-05-06T08:24:18.2539781Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2023-05-06T20:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-06T08:24:18.2539781Z","modifiedDate":"2023-05-06T08:24:18.2539781Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","name":"clitest000003","type":"Microsoft.OperationalInsights/workspaces"}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview cache-control: - no-cache content-length: - - '1107' + - '870' content-type: - - application/json + - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:28:47 GMT + - Sat, 06 May 2023 08:24:19 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2021-12-01-preview pragma: - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 server: - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' x-powered-by: - ASP.NET - - ASP.NET status: code: 201 message: Created @@ -205,40 +185,33 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.43.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2021-12-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"cd205478-b152-4e1b-a362-2dd2a565a201\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Tue, 03 Jan 2023 04:28:47 GMT\"\r\n },\r\n - \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n - \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": - true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": 1.0,\r\n - \ \"quotaNextResetTime\": \"Wed, 04 Jan 2023 00:00:00 GMT\",\r\n \"dataIngestionStatus\": - \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n - \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Tue, 03 Jan 2023 04:28:47 GMT\",\r\n \"modifiedDate\": \"Tue, 03 Jan - 2023 04:28:49 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n - \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" + string: '{"properties":{"customerId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","provisioningState":"Succeeded","sku":{"name":"CapacityReservation","capacityReservationLevel":300,"lastSkuUpdate":"2023-05-06T08:24:18.2539781Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2023-05-06T20:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-06T08:24:18.2539781Z","modifiedDate":"2023-05-06T08:24:18.2539781Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","name":"clitest000003","type":"Microsoft.OperationalInsights/workspaces"}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview cache-control: - no-cache content-length: - - '1107' + - '871' content-type: - - application/json + - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:18 GMT + - Sat, 06 May 2023 08:24:19 GMT + expires: + - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 server: - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -249,7 +222,6 @@ interactions: - nosniff x-powered-by: - ASP.NET - - ASP.NET status: code: 200 message: OK @@ -272,49 +244,43 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.43.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2021-12-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"c9284d21-e0d4-439a-b11f-5429d05aede0\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Tue, 03 Jan 2023 04:29:22 GMT\"\r\n },\r\n - \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n - \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": - true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Tue, 03 Jan 2023 16:00:00 GMT\",\r\n \"dataIngestionStatus\": - \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n - \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Tue, 03 Jan 2023 04:29:22 GMT\",\r\n \"modifiedDate\": \"Tue, 03 Jan - 2023 04:29:22 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n - \ \"name\": \"clitest000004\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" + string: '{"properties":{"customerId":"ffd9b49b-5c0c-403b-aa42-37b5361034d0","provisioningState":"Creating","sku":{"name":"CapacityReservation","capacityReservationLevel":200,"lastSkuUpdate":"2023-05-06T08:24:25.2834421Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2023-05-07T01:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-06T08:24:25.2834421Z","modifiedDate":"2023-05-06T08:24:25.2834421Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004","name":"clitest000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview cache-control: - no-cache content-length: - - '1107' + - '870' content-type: - - application/json + - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:22 GMT + - Sat, 06 May 2023 08:24:26 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2021-12-01-preview pragma: - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 server: - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET - - ASP.NET status: code: 201 message: Created @@ -332,40 +298,33 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.43.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2021-12-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"c9284d21-e0d4-439a-b11f-5429d05aede0\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Tue, 03 Jan 2023 04:29:22 GMT\"\r\n },\r\n - \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n - \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": - true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": 1.0,\r\n - \ \"quotaNextResetTime\": \"Tue, 03 Jan 2023 16:00:00 GMT\",\r\n \"dataIngestionStatus\": - \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n - \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Tue, 03 Jan 2023 04:29:22 GMT\",\r\n \"modifiedDate\": \"Tue, 03 Jan - 2023 04:29:23 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n - \ \"name\": \"clitest000004\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" + string: '{"properties":{"customerId":"ffd9b49b-5c0c-403b-aa42-37b5361034d0","provisioningState":"Creating","sku":{"name":"CapacityReservation","capacityReservationLevel":200,"lastSkuUpdate":"2023-05-06T08:24:25.2834421Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2023-05-07T01:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-06T08:24:25.2834421Z","modifiedDate":"2023-05-06T08:24:25.2834421Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004","name":"clitest000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview cache-control: - no-cache content-length: - - '1107' + - '870' content-type: - - application/json + - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:52 GMT + - Sat, 06 May 2023 08:24:26 GMT + expires: + - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 server: - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -376,7 +335,6 @@ interactions: - nosniff x-powered-by: - ASP.NET - - ASP.NET status: code: 200 message: OK @@ -394,22 +352,21 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2023-01-03T04:28:08Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_monitor_control_service_commands","date":"2023-05-06T08:23:54Z","module":"monitor-control-service"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '347' + - '386' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:52 GMT + - Sat, 06 May 2023 08:24:29 GMT expires: - '-1' pragma: @@ -438,52 +395,78 @@ interactions: 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 \"\ + 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\"\ + ,\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 \ + \ \"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\": \"\ + 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}\n" headers: accept-ranges: - bytes @@ -494,19 +477,19 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '4813' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:53 GMT + - Sat, 06 May 2023 08:24:29 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"7298e22031c19603efeacd7c6d414e8a6440da9719a7667ec308696559a1f0ba" expires: - - Tue, 03 Jan 2023 04:34:53 GMT + - Sat, 06 May 2023 08:29:29 GMT source-age: - - '242' + - '298' strict-transport-security: - max-age=31536000 vary: @@ -520,15 +503,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 75ddbc723fd3a5946d0f212d96b4e07949dd6c0c + - e14e09cbccb1d291350b8e494ff9233e3631f3f6 x-frame-options: - deny x-github-request-id: - - ECC8:47E4:2C704:265F0F:63B351D7 + - 5B90:8619:3F812D:4A89EC:6454256F x-served-by: - - cache-iad-kiad7000153-IAD + - cache-qpg1272-QPG x-timer: - - S1672720194.686150,VS0,VE1 + - S1683361470.573970,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -548,15 +531,14 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202212090\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202212090\"\r\n - \ }\r\n]" + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202305010\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202305010\"\ + \r\n }\r\n]" headers: cache-control: - no-cache @@ -565,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:53 GMT + - Sat, 06 May 2023 08:24:29 GMT expires: - '-1' pragma: @@ -582,7 +564,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43991 status: code: 200 message: OK @@ -600,25 +582,26 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202212090?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202305010?api-version=2022-11-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\": \"westus\",\r\n \"name\": \"18.04.202212090\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202212090\"\r\n}" + 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\": \"westus\",\r\ + \n \"name\": \"18.04.202305010\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202305010\"\ + \r\n}" headers: cache-control: - no-cache @@ -627,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:53 GMT + - Sat, 06 May 2023 08:24:31 GMT expires: - '-1' pragma: @@ -644,7 +627,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73991 status: code: 200 message: OK @@ -662,8 +645,7 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-network/21.0.1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01 response: @@ -677,7 +659,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:54 GMT + - Sat, 06 May 2023 08:24:32 GMT expires: - '-1' pragma: @@ -706,52 +688,78 @@ interactions: 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 \"\ + 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\"\ + ,\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 \ + \ \"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\": \"\ + 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}\n" headers: accept-ranges: - bytes @@ -762,19 +770,19 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '4813' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:55 GMT + - Sat, 06 May 2023 08:24:33 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"7298e22031c19603efeacd7c6d414e8a6440da9719a7667ec308696559a1f0ba" expires: - - Tue, 03 Jan 2023 04:34:55 GMT + - Sat, 06 May 2023 08:29:33 GMT source-age: - - '243' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -788,15 +796,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - afc96f1a169faeeedaf0e859c842c3215734f2e0 + - be2c0a7d1b461add0bb729f7d5404f0e2a650350 x-frame-options: - deny x-github-request-id: - - ECC8:47E4:2C704:265F0F:63B351D7 + - 5B90:8619:3F812D:4A89EC:6454256F x-served-by: - - cache-iad-kiad7000037-IAD + - cache-qpg1234-QPG x-timer: - - S1672720195.222733,VS0,VE1 + - S1683361473.233618,VS0,VE224 x-xss-protection: - 1; mode=block status: @@ -816,15 +824,14 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202212090\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202212090\"\r\n - \ }\r\n]" + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202305010\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202305010\"\ + \r\n }\r\n]" headers: cache-control: - no-cache @@ -833,7 +840,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:55 GMT + - Sat, 06 May 2023 08:24:34 GMT expires: - '-1' pragma: @@ -850,7 +857,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43998 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43990 status: code: 200 message: OK @@ -868,25 +875,26 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202212090?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202305010?api-version=2022-11-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\": \"westus\",\r\n \"name\": \"18.04.202212090\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202212090\"\r\n}" + 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\": \"westus\",\r\ + \n \"name\": \"18.04.202305010\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202305010\"\ + \r\n}" headers: cache-control: - no-cache @@ -895,7 +903,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:55 GMT + - Sat, 06 May 2023 08:24:35 GMT expires: - '-1' pragma: @@ -912,7 +920,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73998 + - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73990 status: code: 200 message: OK @@ -930,15 +938,14 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202212090\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202212090\"\r\n - \ }\r\n]" + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202305010\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202305010\"\ + \r\n }\r\n]" headers: cache-control: - no-cache @@ -947,7 +954,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:55 GMT + - Sat, 06 May 2023 08:24:36 GMT expires: - '-1' pragma: @@ -964,7 +971,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43997 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43989 status: code: 200 message: OK @@ -982,25 +989,26 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202212090?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202305010?api-version=2022-11-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\": \"westus\",\r\n \"name\": \"18.04.202212090\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202212090\"\r\n}" + 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\": \"westus\",\r\ + \n \"name\": \"18.04.202305010\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202305010\"\ + \r\n}" headers: cache-control: - no-cache @@ -1009,7 +1017,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:29:56 GMT + - Sat, 06 May 2023 08:24:37 GMT expires: - '-1' pragma: @@ -1026,7 +1034,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73997 + - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73989 status: code: 200 message: OK @@ -1052,7 +1060,7 @@ interactions: "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, - {"apiVersion": "2022-08-01", "type": "Microsoft.Compute/virtualMachines", "name": + {"apiVersion": "2022-11-01", "type": "Microsoft.Compute/virtualMachines", "name": "vm1", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic", @@ -1079,24 +1087,23 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_jaIEccAcdH5z8upSbBDPhn6GcAro2MoL","name":"vm_deploy_jaIEccAcdH5z8upSbBDPhn6GcAro2MoL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9731335355028219970","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-01-03T04:29:59.99102Z","duration":"PT0.0001323S","correlationId":"de1abbf2-888d-41a4-a584-df21e14e5524","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_uVDechDyp5wMmh4ewycSdGZo2uoei89C","name":"vm_deploy_uVDechDyp5wMmh4ewycSdGZo2uoei89C","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15450066318517938793","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-05-06T08:24:47.0338403Z","duration":"PT0.0009229S","correlationId":"8651c9f0-c039-421f-b000-6f1678aa3031","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_jaIEccAcdH5z8upSbBDPhn6GcAro2MoL/operationStatuses/08585288866869610579?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_uVDechDyp5wMmh4ewycSdGZo2uoei89C/operationStatuses/08585182454033276732?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2345' + - '2348' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:00 GMT + - Sat, 06 May 2023 08:24:48 GMT expires: - '-1' pragma: @@ -1106,7 +1113,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1124,10 +1131,93 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585182454033276732?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: + - Sat, 06 May 2023 08:24:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-password --admin-username --authentication-type + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585288866869610579?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585182454033276732?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: + - Sat, 06 May 2023 08:25:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-password --admin-username --authentication-type + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585182454033276732?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1139,7 +1229,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:30 GMT + - Sat, 06 May 2023 08:25:48 GMT expires: - '-1' pragma: @@ -1167,22 +1257,21 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_jaIEccAcdH5z8upSbBDPhn6GcAro2MoL","name":"vm_deploy_jaIEccAcdH5z8upSbBDPhn6GcAro2MoL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9731335355028219970","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-01-03T04:30:24.2436044Z","duration":"PT24.2527167S","correlationId":"de1abbf2-888d-41a4-a584-df21e14e5524","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_uVDechDyp5wMmh4ewycSdGZo2uoei89C","name":"vm_deploy_uVDechDyp5wMmh4ewycSdGZo2uoei89C","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15450066318517938793","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-05-06T08:25:25.9151276Z","duration":"PT38.8822102S","correlationId":"8651c9f0-c039-421f-b000-6f1678aa3031","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3102' + - '3103' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:30 GMT + - Sat, 06 May 2023 08:25:49 GMT expires: - '-1' pragma: @@ -1210,62 +1299,64 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-11-01 response: body: - string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"973c06ae-8298-4bb4-b51e-881cc4af254f\",\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.202212090\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_b37455feff064713b1f3f7116f4afa9c\",\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/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_b37455feff064713b1f3f7116f4afa9c\"\r\n - \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": - 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": - {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"testadmin\",\r\n - \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": - {\r\n \"vmAgentVersion\": \"Unknown\",\r\n \"statuses\": [\r\n - \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n - \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not - Ready\",\r\n \"message\": \"VM status blob is found but not yet - populated.\",\r\n \"time\": \"2023-01-03T04:30:31+00:00\"\r\n }\r\n - \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"vm1_disk1_b37455feff064713b1f3f7116f4afa9c\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-01-03T04:30:11.2351262+00:00\"\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-01-03T04:30:22.985254+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-01-03T04:30:10.0007371+00:00\"\r\n - \ }\r\n}" + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1\"\ + ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ + : \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"\ + 373112fc-6646-428c-99f8-0d54c0213a91\",\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.202305010\"\ + \r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n\ + \ \"name\": \"vm1_disk1_fb1d884bd8a14cc6a91d54a304b6a6ac\",\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/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_fb1d884bd8a14cc6a91d54a304b6a6ac\"\ + \r\n },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\"\ + : 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\"\ + : {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"testadmin\"\ + ,\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ + : false,\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"\ + }]},\r\n \"provisioningState\": \"Succeeded\",\r\n \"instanceView\"\ + : {\r\n \"computerName\": \"vm1\",\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-05-06T08:25:33+00:00\"\ + \r\n }\r\n ],\r\n \"extensionHandlers\": []\r\n \ + \ },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_fb1d884bd8a14cc6a91d54a304b6a6ac\"\ + ,\r\n \"statuses\": [\r\n {\r\n \"code\"\ + : \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\ + \n \"displayStatus\": \"Provisioning succeeded\",\r\n \ + \ \"time\": \"2023-05-06T08:25:11.6705317+00:00\"\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-05-06T08:25:21.0768724+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-05-06T08:25:09.8267584+00:00\"\ + \r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3163' + - '3251' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:31 GMT + - Sat, 06 May 2023 08:25:51 GMT expires: - '-1' pragma: @@ -1282,7 +1373,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31900 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31983 status: code: 200 message: OK @@ -1300,35 +1391,37 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-network/21.0.1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2022-01-01 response: body: - string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"29d0eba2-9d50-491c-ba09-6fcb5e16b1e1\\\"\",\r\n \"tags\": - {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"234d79b2-1938-4a46-b1c0-f0d4bfb184b9\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"29d0eba2-9d50-491c-ba09-6fcb5e16b1e1\\\"\",\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/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\"\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\": - \"uufzylnzltge3bsvzlyls0fhsf.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-04-39-43\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": - false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n - \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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\": \"westus\",\r\n - \ \"kind\": \"Regular\"\r\n}" + string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"\ + ,\r\n \"etag\": \"W/\\\"b33a1c9d-0032-4c0b-a87a-29317c19579a\\\"\",\r\n \ + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"resourceGuid\": \"441fbc93-7d88-44b6-81d1-9d1244b7a6db\",\r\n \ + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\ + ,\r\n \"etag\": \"W/\\\"b33a1c9d-0032-4c0b-a87a-29317c19579a\\\"\"\ + ,\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/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\ + \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\"\ + \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\": \"3dxihjswkkfefb50g2m5wxk3md.dx.internal.cloudapp.net\"\ + \r\n },\r\n \"macAddress\": \"00-0D-3A-32-1B-8D\",\r\n \"vnetEncryptionSupported\"\ + : false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\"\ + : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\ + \r\n },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1\"\ + \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\":\ + \ \"westus\",\r\n \"kind\": \"Regular\"\r\n}" headers: cache-control: - no-cache @@ -1337,9 +1430,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:31 GMT + - Sat, 06 May 2023 08:25:53 GMT etag: - - W/"29d0eba2-9d50-491c-ba09-6fcb5e16b1e1" + - W/"b33a1c9d-0032-4c0b-a87a-29317c19579a" expires: - '-1' pragma: @@ -1356,7 +1449,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8d028f1c-67ec-4aac-9ae1-2dd5e76395ca + - db4ebae9-879c-4195-9ae8-8a77fd56871f status: code: 200 message: OK @@ -1374,33 +1467,33 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-network/21.0.1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2022-01-01 response: body: - string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"927a2b7e-4543-4c39-99ff-79c7e6ed5205\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"e9d0999e-581a-4e0a-b2c9-115bed8ff84f\",\r\n - \ \"ipAddress\": \"20.237.162.174\",\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\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\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\ + ,\r\n \"etag\": \"W/\\\"53db922a-569f-4afe-839e-587e1532b41d\\\"\",\r\n \ + \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n\ + \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"586c86d5-8343-463a-b8d9-bc84644ee3bb\"\ + ,\r\n \"ipAddress\": \"104.42.60.100\",\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\ + \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}" headers: cache-control: - no-cache content-length: - - '899' + - '898' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:32 GMT + - Sat, 06 May 2023 08:25:55 GMT etag: - - W/"927a2b7e-4543-4c39-99ff-79c7e6ed5205" + - W/"53db922a-569f-4afe-839e-587e1532b41d" expires: - '-1' pragma: @@ -1417,13 +1510,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8cdcf2ea-ebb3-47bc-8bca-dfc7b0fec1b2 + - 8bcc850c-5d2f-45bc-8a7d-d12d5eac514c status: code: 200 message: OK - request: body: '{"location": "eastus", "properties": {"dataSources": {"performanceCounters": - [{"streams": ["Microsoft-InsightsMetrics"], "samplingFrequencyInSeconds": 10, + [{"streams": ["Microsoft-InsightsMetrics"], "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}]}, "destinations": {"azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], @@ -1444,25 +1537,24 @@ interactions: ParameterSetName: - -g -n --location --rule-file User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00910d-0000-0100-0000-63b3af690000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:33.6457302Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05b35a-0000-0100-0000-64560f180000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:25:59.0280949Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1073' + - '1025' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:34 GMT + - Sat, 06 May 2023 08:26:01 GMT expires: - '-1' pragma: @@ -1498,25 +1590,24 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00910d-0000-0100-0000-63b3af690000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:33.6457302Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05b35a-0000-0100-0000-64560f180000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:25:59.0280949Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1073' + - '1025' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:34 GMT + - Sat, 06 May 2023 08:26:03 GMT expires: - '-1' pragma: @@ -1550,25 +1641,24 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00910d-0000-0100-0000-63b3af690000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:33.6457302Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05b35a-0000-0100-0000-64560f180000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:25:59.0280949Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1101' + - '1053' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:34 GMT + - Sat, 06 May 2023 08:26:06 GMT expires: - '-1' pragma: @@ -1600,23 +1690,23 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00910d-0000-0100-0000-63b3af690000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:33.6457302Z"}},{"properties":{"immutableId":"dcr-751c51b0d9214b48bcfe22b1cb1c4441","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstestq2qzdd-westus2","name":"MSCI-cliakstestq2qzdd-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"b200111e-0000-0800-0000-63aea87c0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-03-31T15:59:22.2387353Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-31T15:59:22.2387353Z"}},{"properties":{"immutableId":"dcr-691acf39af104793abcdf597ff6b0479","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstest2knbhf-westus2","name":"MSCI-cliakstest2knbhf-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"b200121e-0000-0800-0000-63aea87d0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-03-31T16:04:13.773966Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-31T16:04:13.773966Z"}},{"properties":{"immutableId":"dcr-613f2b21c3824d9ab2b930c7d9e24a5d","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstest7wdjsy-westus2","name":"MSCI-cliakstest7wdjsy-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"b200131e-0000-0800-0000-63aea87d0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-04-07T16:07:46.4893752Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-07T16:07:46.4893752Z"}},{"properties":{"immutableId":"dcr-07bea7cea95340769f14f8069be3c84f","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstestc3frt3-westus2","name":"MSCI-cliakstestc3frt3-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"b200141e-0000-0800-0000-63aea87e0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-04-14T15:52:52.5588833Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-14T15:52:52.5588833Z"}}]}' + string: '{"value":[{"properties":{"description":"Default DCR created for Monitoring + Account","immutableId":"dcr-8edd477e523b4c0a8e09522c646ef288","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_acc1_eastus_managed/providers/Microsoft.Insights/dataCollectionEndpoints/acc1","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/mttest/providers/microsoft.monitor/accounts/acc1","accountId":"5d55eaa1-67b7-4f59-8f77-6269b64a6a40","name":"MonitoringAccountDestination"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccountDestination"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_acc1_eastus_managed/providers/Microsoft.Insights/dataCollectionRules/acc1","name":"acc1","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8d0541da-0000-0100-0000-645602580000\"","systemData":{"createdBy":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","createdByType":"Application","createdAt":"2023-05-06T07:31:35.9898055Z","lastModifiedBy":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","lastModifiedByType":"Application","lastModifiedAt":"2023-05-06T07:31:35.9898055Z"}},{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05b35a-0000-0100-0000-64560f180000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:25:59.0280949Z"}},{"properties":{"immutableId":"dcr-751c51b0d9214b48bcfe22b1cb1c4441","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstestq2qzdd-westus2","name":"MSCI-cliakstestq2qzdd-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"01006788-0000-0800-0000-643eb57d0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-03-31T15:59:22.2387353Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-31T15:59:22.2387353Z"}},{"properties":{"immutableId":"dcr-691acf39af104793abcdf597ff6b0479","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstest2knbhf-westus2","name":"MSCI-cliakstest2knbhf-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"01006988-0000-0800-0000-643eb57d0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-03-31T16:04:13.773966Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-31T16:04:13.773966Z"}},{"properties":{"immutableId":"dcr-613f2b21c3824d9ab2b930c7d9e24a5d","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstest7wdjsy-westus2","name":"MSCI-cliakstest7wdjsy-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"01006e88-0000-0800-0000-643eb57e0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-04-07T16:07:46.4893752Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-07T16:07:46.4893752Z"}},{"properties":{"immutableId":"dcr-07bea7cea95340769f14f8069be3c84f","dataSources":{"extensions":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"extensionName":"ContainerInsights","name":"ContainerInsightsExtension"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-wus2/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-wus2","workspaceId":"66de590e-57a9-4012-9aeb-ca88d3dc1a52","name":"la-workspace"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-ContainerInventory","Microsoft-ContainerLog","Microsoft-ContainerLogV2","Microsoft-ContainerNodeInventory","Microsoft-KubeEvents","Microsoft-KubeMonAgentEvents","Microsoft-KubeNodeInventory","Microsoft-KubePodInventory","Microsoft-KubePVInventory","Microsoft-KubeServices","Microsoft-InsightsMetrics"],"destinations":["la-workspace"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/defaultresourcegroup-wus2/providers/Microsoft.Insights/dataCollectionRules/MSCI-cliakstestc3frt3-westus2","name":"MSCI-cliakstestc3frt3-westus2","type":"Microsoft.Insights/dataCollectionRules","etag":"\"01007188-0000-0800-0000-643eb57f0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2022-04-14T15:52:52.5588833Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-14T15:52:52.5588833Z"}}]}' headers: cache-control: - no-cache content-length: - - '8659' + - '9999' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:35 GMT + - Sat, 06 May 2023 08:26:08 GMT expires: - '-1' pragma: @@ -1628,8 +1718,8 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 93aaa798-bd37-4cea-bc89-69c4bd28454d - - bd3ace67-c3a3-4fce-9ec6-c88be20af5d6 + - 46ebf1e0-29bf-451c-8abb-1e5b1a99227d + - a37561ad-9fbd-47b8-8edd-a91550a42b34 status: code: 200 message: OK @@ -1647,25 +1737,24 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00910d-0000-0100-0000-63b3af690000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:33.6457302Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05b35a-0000-0100-0000-64560f180000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:25:59.0280949Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1073' + - '1025' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:35 GMT + - Sat, 06 May 2023 08:26:11 GMT expires: - '-1' pragma: @@ -1688,7 +1777,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}]}, "destinations": {"azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' @@ -1708,25 +1797,24 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00920d-0000-0100-0000-63b3af700000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:40.3596905Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e051e5b-0000-0100-0000-64560f240000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:12.2051498Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1115' + - '1067' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:41 GMT + - Sat, 06 May 2023 08:26:14 GMT expires: - '-1' pragma: @@ -1762,25 +1850,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00920d-0000-0100-0000-63b3af700000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:40.3596905Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e051e5b-0000-0100-0000-64560f240000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:12.2051498Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1115' + - '1067' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:41 GMT + - Sat, 06 May 2023 08:26:17 GMT expires: - '-1' pragma: @@ -1803,9 +1890,9 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}]}, "destinations": {"logAnalytics": - [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003", + [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003", "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: @@ -1824,25 +1911,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00930d-0000-0100-0000-63b3af720000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:42.180095Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05585b-0000-0100-0000-64560f2a0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:18.3081107Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1379' + - '1332' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:42 GMT + - Sat, 06 May 2023 08:26:18 GMT expires: - '-1' pragma: @@ -1878,25 +1964,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00930d-0000-0100-0000-63b3af720000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:42.180095Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05585b-0000-0100-0000-64560f2a0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:18.3081107Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1379' + - '1332' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:42 GMT + - Sat, 06 May 2023 08:26:22 GMT expires: - '-1' pragma: @@ -1930,25 +2015,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00930d-0000-0100-0000-63b3af720000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:42.180095Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05585b-0000-0100-0000-64560f2a0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:18.3081107Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1379' + - '1332' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:43 GMT + - Sat, 06 May 2023 08:26:23 GMT expires: - '-1' pragma: @@ -1982,25 +2066,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00930d-0000-0100-0000-63b3af720000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:42.180095Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05585b-0000-0100-0000-64560f2a0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:18.3081107Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1379' + - '1332' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:43 GMT + - Sat, 06 May 2023 08:26:26 GMT expires: - '-1' pragma: @@ -2023,9 +2106,9 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}]}, "destinations": {"logAnalytics": - [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004", + [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004", "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: @@ -2044,25 +2127,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004","workspaceId":"c9284d21-e0d4-439a-b11f-5429d05aede0","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00940d-0000-0100-0000-63b3af750000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:44.7784071Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004","workspaceId":"ffd9b49b-5c0c-403b-aa42-37b5361034d0","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05be5b-0000-0100-0000-64560f340000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:27.1425179Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1380' + - '1332' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:44 GMT + - Sat, 06 May 2023 08:26:29 GMT expires: - '-1' pragma: @@ -2098,25 +2180,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004","workspaceId":"c9284d21-e0d4-439a-b11f-5429d05aede0","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00940d-0000-0100-0000-63b3af750000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:44.7784071Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004","workspaceId":"ffd9b49b-5c0c-403b-aa42-37b5361034d0","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05be5b-0000-0100-0000-64560f340000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:27.1425179Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1380' + - '1332' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:45 GMT + - Sat, 06 May 2023 08:26:31 GMT expires: - '-1' pragma: @@ -2139,7 +2220,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}]}, "destinations": {"logAnalytics": [], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' @@ -2159,25 +2240,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00950d-0000-0100-0000-63b3af760000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:45.9015333Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05dd5b-0000-0100-0000-64560f380000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:32.0049597Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1133' + - '1085' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:45 GMT + - Sat, 06 May 2023 08:26:32 GMT expires: - '-1' pragma: @@ -2214,25 +2294,24 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00950d-0000-0100-0000-63b3af760000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:45.9015333Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05dd5b-0000-0100-0000-64560f380000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:32.0049597Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1133' + - '1085' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:45 GMT + - Sat, 06 May 2023 08:26:33 GMT expires: - '-1' pragma: @@ -2255,7 +2334,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}, {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Memory\\Committed Bytes", "\\Processor(_Total)\\% Processor Time"], "name": "extraCounters"}]}, @@ -2278,26 +2357,25 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00960d-0000-0100-0000-63b3af760000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:46.8205795Z"}}' + Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05f15b-0000-0100-0000-64560f3b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:35.2097633Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1309' + - '1261' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:46 GMT + - Sat, 06 May 2023 08:26:34 GMT expires: - '-1' pragma: @@ -2333,26 +2411,25 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00960d-0000-0100-0000-63b3af760000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:46.8205795Z"}}' + Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05f15b-0000-0100-0000-64560f3b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:35.2097633Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1309' + - '1261' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:47 GMT + - Sat, 06 May 2023 08:26:38 GMT expires: - '-1' pragma: @@ -2386,26 +2463,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00960d-0000-0100-0000-63b3af760000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:46.8205795Z"}}' + Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05f15b-0000-0100-0000-64560f3b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:35.2097633Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1309' + - '1261' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:47 GMT + - Sat, 06 May 2023 08:26:41 GMT expires: - '-1' pragma: @@ -2439,26 +2515,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00960d-0000-0100-0000-63b3af760000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:46.8205795Z"}}' + Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05f15b-0000-0100-0000-64560f3b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:35.2097633Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1309' + - '1261' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:47 GMT + - Sat, 06 May 2023 08:26:43 GMT expires: - '-1' pragma: @@ -2481,7 +2556,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}, {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% Processor Time"], "name": "extraCounters"}]}, "destinations": {"logAnalytics": @@ -2503,26 +2578,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00970d-0000-0100-0000-63b3af780000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:48.4407404Z"}}' + Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05405c-0000-0100-0000-64560f440000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:44.0534112Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1281' + - '1233' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:48 GMT + - Sat, 06 May 2023 08:26:45 GMT expires: - '-1' pragma: @@ -2558,26 +2632,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00970d-0000-0100-0000-63b3af780000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:48.4407404Z"}}' + Processor Time"],"name":"extraCounters"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05405c-0000-0100-0000-64560f440000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:44.0534112Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1281' + - '1233' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:48 GMT + - Sat, 06 May 2023 08:26:48 GMT expires: - '-1' pragma: @@ -2600,7 +2673,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}]}, "destinations": {"logAnalytics": [], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' @@ -2620,25 +2693,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00980d-0000-0100-0000-63b3af790000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:49.6307686Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05655c-0000-0100-0000-64560f490000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:48.829499Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1133' + - '1084' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:49 GMT + - Sat, 06 May 2023 08:26:49 GMT expires: - '-1' pragma: @@ -2674,25 +2746,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00980d-0000-0100-0000-63b3af790000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:49.6307686Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05655c-0000-0100-0000-64560f490000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:48.829499Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1133' + - '1084' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:49 GMT + - Sat, 06 May 2023 08:26:52 GMT expires: - '-1' pragma: @@ -2715,7 +2786,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["System![System[(Level = 1 or Level = 2 or Level = 3)]]", "Application!*[System[(Level = 1 or Level = 2 or Level @@ -2738,27 +2809,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level = 1 or Level = 2 or Level = 3)]]","Application!*[System[(Level = 1 or Level - = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00990d-0000-0100-0000-63b3af7a0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:50.7588036Z"}}' + = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e057d5c-0000-0100-0000-64560f4c0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:52.6268115Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1351' + - '1303' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:50 GMT + - Sat, 06 May 2023 08:26:52 GMT expires: - '-1' pragma: @@ -2794,27 +2864,26 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level = 1 or Level = 2 or Level = 3)]]","Application!*[System[(Level = 1 or Level - = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00990d-0000-0100-0000-63b3af7a0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:50.7588036Z"}}' + = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e057d5c-0000-0100-0000-64560f4c0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:52.6268115Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1351' + - '1303' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:50 GMT + - Sat, 06 May 2023 08:26:54 GMT expires: - '-1' pragma: @@ -2848,27 +2917,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level = 1 or Level = 2 or Level = 3)]]","Application!*[System[(Level = 1 or Level - = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00990d-0000-0100-0000-63b3af7a0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:50.7588036Z"}}' + = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e057d5c-0000-0100-0000-64560f4c0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:52.6268115Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1351' + - '1303' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:50 GMT + - Sat, 06 May 2023 08:26:55 GMT expires: - '-1' pragma: @@ -2902,27 +2970,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level = 1 or Level = 2 or Level = 3)]]","Application!*[System[(Level = 1 or Level - = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00990d-0000-0100-0000-63b3af7a0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:50.7588036Z"}}' + = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e057d5c-0000-0100-0000-64560f4c0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:52.6268115Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1351' + - '1303' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:50 GMT + - Sat, 06 May 2023 08:26:58 GMT expires: - '-1' pragma: @@ -2945,7 +3012,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]"], "name": "extraEvents"}]}, "destinations": @@ -2967,26 +3034,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Application!*[System[(Level - = 1 or Level = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009a0d-0000-0100-0000-63b3af7c0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:52.1015441Z"}}' + = 1 or Level = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05bf5c-0000-0100-0000-64560f530000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:59.4240716Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1294' + - '1246' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:51 GMT + - Sat, 06 May 2023 08:26:59 GMT expires: - '-1' pragma: @@ -3022,26 +3088,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Application!*[System[(Level - = 1 or Level = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009a0d-0000-0100-0000-63b3af7c0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:52.1015441Z"}}' + = 1 or Level = 2 or Level = 3)]]"],"name":"extraEvents"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05bf5c-0000-0100-0000-64560f530000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:26:59.4240716Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1294' + - '1246' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:52 GMT + - Sat, 06 May 2023 08:27:02 GMT expires: - '-1' pragma: @@ -3064,7 +3129,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": []}, "destinations": {"logAnalytics": [], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' @@ -3084,25 +3149,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009b0d-0000-0100-0000-63b3af7d0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:53.4652328Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05e55c-0000-0100-0000-64560f570000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:03.1378707Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1155' + - '1107' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:53 GMT + - Sat, 06 May 2023 08:27:03 GMT expires: - '-1' pragma: @@ -3138,25 +3202,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009b0d-0000-0100-0000-63b3af7d0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:53.4652328Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05e55c-0000-0100-0000-64560f570000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:03.1378707Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1155' + - '1107' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:53 GMT + - Sat, 06 May 2023 08:27:06 GMT expires: - '-1' pragma: @@ -3179,7 +3242,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [], "syslog": [{"streams": ["Microsoft-Syslog"], "facilityNames": ["cron"], "logLevels": ["Debug", "Critical", "Emergency"], "name": "cronSyslog"}]}, "destinations": {"logAnalytics": @@ -3201,25 +3264,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009c0d-0000-0100-0000-63b3af7e0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:54.4381949Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05ff5c-0000-0100-0000-64560f5b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:07.0202911Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1289' + - '1241' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:54 GMT + - Sat, 06 May 2023 08:27:07 GMT expires: - '-1' pragma: @@ -3255,25 +3317,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009c0d-0000-0100-0000-63b3af7e0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:54.4381949Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05ff5c-0000-0100-0000-64560f5b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:07.0202911Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1289' + - '1241' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:55 GMT + - Sat, 06 May 2023 08:27:07 GMT expires: - '-1' pragma: @@ -3307,25 +3368,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009c0d-0000-0100-0000-63b3af7e0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:54.4381949Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05ff5c-0000-0100-0000-64560f5b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:07.0202911Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1289' + - '1241' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:55 GMT + - Sat, 06 May 2023 08:27:09 GMT expires: - '-1' pragma: @@ -3359,25 +3419,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009c0d-0000-0100-0000-63b3af7e0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:54.4381949Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05ff5c-0000-0100-0000-64560f5b0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:07.0202911Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1289' + - '1241' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:55 GMT + - Sat, 06 May 2023 08:27:12 GMT expires: - '-1' pragma: @@ -3400,7 +3459,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [], "syslog": [{"streams": ["Microsoft-Syslog"], "facilityNames": ["cron"], "logLevels": ["Critical", "Emergency"], "name": "cronSyslog"}]}, "destinations": {"logAnalytics": [], @@ -3422,25 +3481,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009e0d-0000-0100-0000-63b3af800000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:55.9719403Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05375d-0000-0100-0000-64560f610000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:13.344409Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1281' + - '1232' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:55 GMT + - Sat, 06 May 2023 08:27:14 GMT expires: - '-1' pragma: @@ -3476,25 +3534,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009e0d-0000-0100-0000-63b3af800000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:55.9719403Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05375d-0000-0100-0000-64560f610000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:13.344409Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1281' + - '1232' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:56 GMT + - Sat, 06 May 2023 08:27:16 GMT expires: - '-1' pragma: @@ -3517,7 +3574,7 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [], "syslog": []}, "destinations": {"logAnalytics": [], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' @@ -3537,25 +3594,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009f0d-0000-0100-0000-63b3af810000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:57.2355304Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e055e5d-0000-0100-0000-64560f650000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:17.3186388Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1167' + - '1119' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:56 GMT + - Sat, 06 May 2023 08:27:17 GMT expires: - '-1' pragma: @@ -3591,25 +3647,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c009f0d-0000-0100-0000-63b3af810000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:57.2355304Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e055e5d-0000-0100-0000-64560f650000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:17.3186388Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1167' + - '1119' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:57 GMT + - Sat, 06 May 2023 08:27:20 GMT expires: - '-1' pragma: @@ -3632,9 +3687,9 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [], "syslog": - []}, "destinations": {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003", + []}, "destinations": {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003", "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: @@ -3653,25 +3708,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00a00d-0000-0100-0000-63b3af820000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:58.2493501Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05815d-0000-0100-0000-64560f690000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:20.7163257Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1414' + - '1366' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:59 GMT + - Sat, 06 May 2023 08:27:21 GMT expires: - '-1' pragma: @@ -3707,25 +3761,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00a00d-0000-0100-0000-63b3af820000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:58.2493501Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05815d-0000-0100-0000-64560f690000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:20.7163257Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1414' + - '1366' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:30:58 GMT + - Sat, 06 May 2023 08:27:23 GMT expires: - '-1' pragma: @@ -3748,9 +3801,9 @@ interactions: - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], - "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + "samplingFrequencyInSeconds": 60, "counterSpecifiers": ["\\Processor Information(_Total)\\% Processor Time"], "name": "perfCounter01"}], "windowsEventLogs": [], "syslog": - []}, "destinations": {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003", + []}, "destinations": {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003", "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}, {"streams": ["Microsoft-Perf"], "destinations": ["clitest000003"]}]}}' @@ -3770,25 +3823,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]},{"streams":["Microsoft-Perf"],"destinations":["clitest000003"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00a10d-0000-0100-0000-63b3af840000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:59.7956897Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]},{"streams":["Microsoft-Perf"],"destinations":["clitest000003"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05ad5d-0000-0100-0000-64560f6e0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:24.8736361Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1478' + - '1430' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:01 GMT + - Sat, 06 May 2023 08:27:25 GMT expires: - '-1' pragma: @@ -3824,25 +3876,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-6a42ea43a6894eccad1b499979fc115e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor - Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"cd205478-b152-4e1b-a362-2dd2a565a201","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]},{"streams":["Microsoft-Perf"],"destinations":["clitest000003"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0c00a10d-0000-0100-0000-63b3af840000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:30:33.6457302Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:30:59.7956897Z"}}' + string: '{"properties":{"immutableId":"dcr-175cb22b89b9465faed3292207c4565c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":60,"counterSpecifiers":["\\Processor + Information(_Total)\\% Processor Time"],"name":"perfCounter01"}],"windowsEventLogs":[],"syslog":[]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003","workspaceId":"563c2d4b-1d7d-4ec0-adb8-dbadbcb1ae3a","name":"clitest000003"}],"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]},{"streams":["Microsoft-Perf"],"destinations":["clitest000003"]}],"provisioningState":"Succeeded"},"location":"eastus","tags":{"tag1":"A","tag2":"B","tag3":"C"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule","name":"myCollectionRule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"8e05ad5d-0000-0100-0000-64560f6e0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:25:59.0280949Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:24.8736361Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '1478' + - '1430' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:00 GMT + - Sat, 06 May 2023 08:27:29 GMT expires: - '-1' pragma: @@ -3880,24 +3931,23 @@ interactions: ParameterSetName: - --name --rule-id --resource User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation?api-version=2021-09-01-preview response: body: - string: '{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4b08af56-0000-0700-0000-63b3af870000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:31:01.884444Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:31:01.884444Z"}}' + string: '{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"2a08709a-0000-0700-0000-64560f740000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:27:30.3010807Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:30.3010807Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '810' + - '764' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:03 GMT + - Sat, 06 May 2023 08:27:32 GMT expires: - '-1' pragma: @@ -3933,24 +3983,23 @@ interactions: ParameterSetName: - --name --resource User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation?api-version=2021-09-01-preview response: body: - string: '{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4b08af56-0000-0700-0000-63b3af870000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:31:01.884444Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:31:01.884444Z"}}' + string: '{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"2a08709a-0000-0700-0000-64560f740000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:27:30.3010807Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:30.3010807Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '810' + - '764' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:03 GMT + - Sat, 06 May 2023 08:27:34 GMT expires: - '-1' pragma: @@ -3984,8 +4033,7 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule/associations?api-version=2021-09-01-preview response: @@ -3993,7 +4041,7 @@ interactions: string: '{"value":[{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.insights/datacollectionrules/mycollectionrule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.compute/virtualmachines/vm1/providers/microsoft.insights/datacollectionruleassociations/myassociation","name":"myassociation","type":"Microsoft.Insights/dataCollectionRuleAssociations"}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: @@ -4001,7 +4049,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:04 GMT + - Sat, 06 May 2023 08:27:36 GMT expires: - '-1' pragma: @@ -4035,24 +4083,23 @@ interactions: ParameterSetName: - --resource User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4b08af56-0000-0700-0000-63b3af870000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:31:01.884444Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:31:01.884444Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"2a08709a-0000-0700-0000-64560f740000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:27:30.3010807Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:30.3010807Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '838' + - '792' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:05 GMT + - Sat, 06 May 2023 08:27:38 GMT expires: - '-1' pragma: @@ -4086,24 +4133,23 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation?api-version=2021-09-01-preview response: body: - string: '{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4b08af56-0000-0700-0000-63b3af870000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:31:01.884444Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:31:01.884444Z"}}' + string: '{"properties":{"dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"2a08709a-0000-0700-0000-64560f740000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:27:30.3010807Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:30.3010807Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '810' + - '764' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:05 GMT + - Sat, 06 May 2023 08:27:41 GMT expires: - '-1' pragma: @@ -4142,24 +4188,23 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation?api-version=2021-09-01-preview response: body: - string: '{"properties":{"description":"this is description","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4b084157-0000-0700-0000-63b3af8b0000\"","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-01-03T04:31:07.1605384Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-03T04:31:07.1605384Z"}}' + string: '{"properties":{"description":"this is description","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation","name":"myAssociation","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"2a08049b-0000-0700-0000-64560f7e0000\"","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-05-06T08:27:41.9867615Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-06T08:27:41.9867615Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - - '848' + - '800' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Jan 2023 04:31:07 GMT + - Sat, 06 May 2023 08:27:42 GMT expires: - '-1' pragma: @@ -4197,8 +4242,7 @@ interactions: ParameterSetName: - -y --name --resource User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation?api-version=2021-09-01-preview response: @@ -4206,13 +4250,13 @@ interactions: string: '' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - '0' date: - - Tue, 03 Jan 2023 04:31:10 GMT + - Sat, 06 May 2023 08:27:45 GMT expires: - '-1' pragma: @@ -4246,8 +4290,7 @@ interactions: ParameterSetName: - -y --name --resource-group User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.8 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.48.1 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.3.1-x86_64-i386-64bit) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: @@ -4255,13 +4298,13 @@ interactions: string: '' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 cache-control: - no-cache content-length: - '0' date: - - Tue, 03 Jan 2023 04:31:12 GMT + - Sat, 06 May 2023 08:27:52 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/rule_files/rule_file.json b/src/monitor-control-service/azext_amcs/tests/latest/rule_files/rule_file.json index b403b1876f9..130beb5cc20 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/rule_files/rule_file.json +++ b/src/monitor-control-service/azext_amcs/tests/latest/rule_files/rule_file.json @@ -7,7 +7,7 @@ "Microsoft-InsightsMetrics" ], "scheduledTransferPeriod": "PT1M", - "samplingFrequencyInSeconds": 10, + "samplingFrequencyInSeconds": 60, "counterSpecifiers": [ "\\Processor Information(_Total)\\% Processor Time" ], diff --git a/src/monitor-control-service/setup.py b/src/monitor-control-service/setup.py index 7eb3a2e0ed5..eb8ee61f1e2 100644 --- a/src/monitor-control-service/setup.py +++ b/src/monitor-control-service/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.3.0' +VERSION = '0.3.1' try: from azext_amcs.manual.version import VERSION except ImportError: