From 03c1e6a576f71fba88fc98ad8b783bfb8ebb2e87 Mon Sep 17 00:00:00 2001 From: Zeng Taoxu Date: Thu, 21 Apr 2022 09:37:34 +0800 Subject: [PATCH 1/6] {MonitorControlService}Bump up azure-mgmt-amcs SDK --- src/monitor-control-service/HISTORY.rst | 9 + .../azext_amcs/generated/_help.py | 6 +- .../azext_amcs/generated/_params.py | 2 + .../azext_amcs/generated/custom.py | 4 + .../azext_amcs/manual/_help.py | 96 +- .../azext_amcs/manual/_params.py | 1 + .../azext_amcs/manual/custom.py | 57 +- .../azext_amcs/tests/__init__.py | 116 ++ .../test_amcs_data_collection_endpoint.yaml | 174 +- .../test_amcs_data_collection_rule.yaml | 369 ++++ ...test_monitor_control_service_Scenario.yaml | 1720 ++++++----------- .../tests/latest/rule_files/rule_file.json | 34 + .../test_monitor_control_service_scenario.py | 84 +- .../vendored_sdks/amcs/_configuration.py | 2 +- .../vendored_sdks/amcs/_monitor_client.py | 6 +- .../azext_amcs/vendored_sdks/amcs/_version.py | 2 +- .../vendored_sdks/amcs/aio/_configuration.py | 2 +- .../vendored_sdks/amcs/aio/_monitor_client.py | 6 +- .../_data_collection_endpoints_operations.py | 50 +- ...collection_rule_associations_operations.py | 112 +- .../_data_collection_rules_operations.py | 50 +- .../vendored_sdks/amcs/models/__init__.py | 45 +- .../vendored_sdks/amcs/models/_models.py | 575 +++++- .../vendored_sdks/amcs/models/_models_py3.py | 614 +++++- .../amcs/models/_monitor_client_enums.py | 32 + .../_data_collection_endpoints_operations.py | 50 +- ..._collection_rule_association_operations.py | 399 ---- ...collection_rule_associations_operations.py | 113 +- .../_data_collection_rule_operations.py | 496 ----- .../_data_collection_rules_operations.py | 50 +- src/monitor-control-service/gen.zip | Bin 9565 -> 18853 bytes src/monitor-control-service/report.md | 14 + src/monitor-control-service/setup.py | 4 +- 33 files changed, 2790 insertions(+), 2504 deletions(-) create mode 100644 src/monitor-control-service/azext_amcs/tests/__init__.py create mode 100644 src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml create mode 100644 src/monitor-control-service/azext_amcs/tests/latest/rule_files/rule_file.json delete mode 100644 src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_association_operations.py delete mode 100644 src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_operations.py diff --git a/src/monitor-control-service/HISTORY.rst b/src/monitor-control-service/HISTORY.rst index 593fde973cc..a9fb90676a6 100644 --- a/src/monitor-control-service/HISTORY.rst +++ b/src/monitor-control-service/HISTORY.rst @@ -3,6 +3,15 @@ Release History =============== +0.3.0 +++++++ +* 'az monitor data-collection rule create': add parameter '--rule-file' +* 'az monitor data-collection rule create': remove parameters '--data-flows' and '--log-analytics' +and '--monitor-metrics' and '--performance-counters' and '--windows-event-logs' and '--syslog' and '--extensions' +* 'az monitor data-collection rule association list': add parameter '--data-collection-endpoint-name' +* Bump up azure-mgmt-amcs SDK to 2021_09_01_preview + + 0.2.0 ++++++ * GA release. diff --git a/src/monitor-control-service/azext_amcs/generated/_help.py b/src/monitor-control-service/azext_amcs/generated/_help.py index 67a2cfa3fe0..87369786ceb 100644 --- a/src/monitor-control-service/azext_amcs/generated/_help.py +++ b/src/monitor-control-service/azext_amcs/generated/_help.py @@ -63,12 +63,16 @@ helps['monitor data-collection rule association list'] = """ type: command short-summary: "Lists associations for the specified data collection rule. And Lists associations for the \ -specified resource." +specified data collection endpoint. And Lists associations for the specified resource." examples: - name: List associations for specified data collection rule text: |- az monitor data-collection rule association list --rule-name "myCollectionRule" --resource-group \ "myResourceGroup" + - name: List associations for specified data collection endpoint + text: |- + az monitor data-collection rule association list --data-collection-endpoint-name \ +"myDataCollectionEndpointName" --resource-group "myResourceGroup" - name: List associations for specified resource text: |- az monitor data-collection rule association list --resource "subscriptions/703362b3-f278-4e4b-9179-c76ea\ diff --git a/src/monitor-control-service/azext_amcs/generated/_params.py b/src/monitor-control-service/azext_amcs/generated/_params.py index b488183f5ca..f00ce192414 100644 --- a/src/monitor-control-service/azext_amcs/generated/_params.py +++ b/src/monitor-control-service/azext_amcs/generated/_params.py @@ -32,6 +32,8 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('data_collection_rule_name', options_list=['--rule-name'], type=str, help='The name of the data ' 'collection rule. The name is case insensitive.') + c.argument('data_collection_endpoint_name', type=str, help='The name of the data collection endpoint. The name ' + 'is case insensitive.') c.argument('resource_uri', options_list=['--resource'], type=str, help='The identifier of the resource.') with self.argument_context('monitor data-collection rule association show') as c: diff --git a/src/monitor-control-service/azext_amcs/generated/custom.py b/src/monitor-control-service/azext_amcs/generated/custom.py index 7b3e048c9ef..4b00bb10eed 100644 --- a/src/monitor-control-service/azext_amcs/generated/custom.py +++ b/src/monitor-control-service/azext_amcs/generated/custom.py @@ -34,10 +34,14 @@ def monitor_data_collection_endpoint_delete(client, def monitor_data_collection_rule_association_list(client, resource_group_name=None, data_collection_rule_name=None, + data_collection_endpoint_name=None, resource_uri=None): if resource_group_name and data_collection_rule_name is not None: return client.list_by_rule(resource_group_name=resource_group_name, data_collection_rule_name=data_collection_rule_name) + elif resource_group_name and data_collection_endpoint_name is not None: + return client.list_by_data_collection_endpoint(resource_group_name=resource_group_name, + data_collection_endpoint_name=data_collection_endpoint_name) return client.list_by_resource(resource_uri=resource_uri) diff --git a/src/monitor-control-service/azext_amcs/manual/_help.py b/src/monitor-control-service/azext_amcs/manual/_help.py index 4208b3505e1..8fbfdad1729 100644 --- a/src/monitor-control-service/azext_amcs/manual/_help.py +++ b/src/monitor-control-service/azext_amcs/manual/_help.py @@ -165,103 +165,13 @@ type: command short-summary: "Create a data collection rule." parameters: - - name: --data-flows - short-summary: "The specification of data flows." - long-summary: | - Usage: --data-flows streams=XX1 streams=XX2 destinations=XX1 destinations=XX2 - - streams: Required. List of streams for this data flow. - destinations: Required. List of destinations for this data flow. - - Multiple actions can be specified by using more than one --data-flows argument. - - name: --log-analytics - short-summary: "List of Log Analytics destinations." - long-summary: | - Usage: --log-analytics resource-id=XX name=XX - - resource-id: Required. The resource ID of the Log Analytics workspace. - name: Required. A friendly name for the destination. This name should be unique across all destinations \ -(regardless of type) within the data collection rule. - - Multiple actions can be specified by using more than one --log-analytics argument. - - name: --monitor-metrics - short-summary: "Azure Monitor Metrics destination." - long-summary: | - Usage: --monitor-metrics name=XX - - name: Required. A friendly name for the destination. This name should be unique across all destinations \ -(regardless of type) within the data collection rule. - - name: --performance-counters - short-summary: "The list of performance counter data source configurations." - long-summary: | - Usage: --performance-counters streams=XX1 streams=XX2 \ -sampling-frequency=XX counter-specifiers=XX1 counter-specifiers=XX2 name=XX - - streams: Required. List of streams that this data source will be sent to. A stream indicates what schema \ -will be used for this data and usually what table in Log Analytics the data will be sent to. - sampling-frequency: Required. The number of seconds between consecutive counter measurements \ -(samples). - counter-specifiers: Required. A list of specifier names of the performance counters you want to collect. \ -Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the \ -command 'typeperf'. - name: Required. A friendly name for the data source. This name should be unique across all data sources \ -(regardless of type) within the data collection rule. - - Multiple actions can be specified by using more than one --performance-counters argument. - - name: --windows-event-logs - short-summary: "The list of Windows Event Log data source configurations." - long-summary: | - Usage: --windows-event-logs streams=XX1 streams=XX2 x-path-queries=XX1 \ -x-path-queries=XX2 name=XX - - streams: Required. List of streams that this data source will be sent to. A stream indicates what schema \ -will be used for this data and usually what table in Log Analytics the data will be sent to. - x-path-queries: Required. A list of Windows Event Log queries in XPATH format. - name: Required. A friendly name for the data source. This name should be unique across all data sources \ -(regardless of type) within the data collection rule. - - Multiple actions can be specified by using more than one --windows-event-logs argument. - - name: --syslog - short-summary: "The list of Syslog data source configurations." - long-summary: | - Usage: --syslog streams=XX1 streams=XX2 facility-names=XX1 facility-names=XX2 log-levels=XX1 log-levels=XX2 \ -name=XX - - streams: Required. List of streams that this data source will be sent to. A stream indicates what schema \ -will be used for this data and usually what table in Log Analytics the data will be sent to. - facility-names: Required. The list of facility names. - log-levels: The log levels to collect. - name: Required. A friendly name for the data source. This name should be unique across all data sources \ -(regardless of type) within the data collection rule. - - Multiple actions can be specified by using more than one --syslog argument. + - name: --rule-file + short-summary: "The json file for rule parameters." examples: - name: Create data collection rule text: |- az monitor data-collection rule create --resource-group "myResourceGroup" --location "eastus" \ ---name "myCollectionRule" \ ---data-flows destinations="centralWorkspace" streams="Microsoft-Perf" streams="Microsoft-Syslog" \ -streams="Microsoft-WindowsEvent" \ ---log-analytics name="centralWorkspace" \ -resource-id="/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.OperationalInsights/workspaces/centralTeamWorkspace" \ ---performance-counters name="cloudTeamCoreCounters" counter-specifiers="\\\\Processor(_Total)\\\\% Processor Time" \ -counter-specifiers="\\\\Memory\\\\Committed Bytes" counter-specifiers="\\\\LogicalDisk(_Total)\\\\Free Megabytes" \ -counter-specifiers="\\\\PhysicalDisk(_Total)\\\\Avg. Disk Queue Length" sampling-frequency=15 \ -streams="Microsoft-Perf" \ ---performance-counters name="appTeamExtraCounters" \ -counter-specifiers="\\\\Process(_Total)\\\\Thread Count" sampling-frequency=30 \ -streams="Microsoft-Perf" \ ---syslog name="cronSyslog" facility-names="cron" log-levels="Debug" log-levels="Critical" log-levels="Emergency" \ -streams="Microsoft-Syslog" \ ---syslog name="syslogBase" facility-names="syslog" log-levels="Alert" log-levels="Critical" log-levels="Emergency" \ -streams="Microsoft-Syslog" \ ---windows-event-logs name="cloudSecurityTeamEvents" streams="Microsoft-WindowsEvent" \ -x-path-queries="Security!" \ ---windows-event-logs name="appTeam1AppEvents" streams="Microsoft-WindowsEvent" \ -x-path-queries="System![System[(Level = 1 or Level = 2 or Level = 3)]]" \ -x-path-queries="Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" - +--name "myCollectionRule" --rule-file "C:\samples\dcrEx1.json" """ helps['monitor data-collection rule update'] = """ diff --git a/src/monitor-control-service/azext_amcs/manual/_params.py b/src/monitor-control-service/azext_amcs/manual/_params.py index 0f4d09fe28f..c0460f68674 100644 --- a/src/monitor-control-service/azext_amcs/manual/_params.py +++ b/src/monitor-control-service/azext_amcs/manual/_params.py @@ -92,6 +92,7 @@ def load_arguments(self, _): with self.argument_context('monitor data-collection rule create') as c: c.argument('data_collection_rule_name', id_part=None) + c.argument('rule_file', type=str, help='The json file for rule parameters.', required=True) c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False, validator=get_default_location_from_resource_group) diff --git a/src/monitor-control-service/azext_amcs/manual/custom.py b/src/monitor-control-service/azext_amcs/manual/custom.py index cc6da9bf7c1..08758fe1ec6 100644 --- a/src/monitor-control-service/azext_amcs/manual/custom.py +++ b/src/monitor-control-service/azext_amcs/manual/custom.py @@ -94,29 +94,52 @@ def _data_collection_rules_create(client, def data_collection_rules_create(client, resource_group_name, data_collection_rule_name, + rule_file, location=None, tags=None, - description=None, - data_flows=None, - destinations__log_analytics=None, - destinations__azure_monitor_metrics=None, - data_sources__performance_counters=None, - data_sources__windows_event_logs=None, - data_sources__syslog=None, - data_sources__extensions=None): + description=None): + from azure.cli.core.util import get_file_json + from azure.cli.core.azclierror import FileOperationError, UnclassifiedUserFault body = {} body['location'] = location body['tags'] = tags body['description'] = description - body['data_flows'] = data_flows - body['destinations'] = {} - body['destinations']['log_analytics'] = destinations__log_analytics - body['destinations']['azure_monitor_metrics'] = destinations__azure_monitor_metrics - body['data_sources'] = {} - body['data_sources']['performance_counters'] = data_sources__performance_counters - body['data_sources']['windows_event_logs'] = data_sources__windows_event_logs - body['data_sources']['syslog'] = data_sources__syslog - body['data_sources']['extensions'] = data_sources__extensions + try: + json_data = get_file_json(rule_file) + except FileNotFoundError: + raise FileOperationError("No such file: " + str(rule_file)) + except IsADirectoryError: + raise FileOperationError("Is a directory: " + str(rule_file)) + except PermissionError: + raise FileOperationError("Permission denied: " + str(rule_file)) + except OSError as e: + raise UnclassifiedUserFault(e) + for key_prop in json_data: + if key_prop == 'properties': + data = json_data['properties'] + else: + data = json_data + for key in data: + if key == 'dataSources': + body['data_sources'] = {} + for key_ds in data['dataSources']: + if key_ds == 'performanceCounters': + body['data_sources']['performance_counters'] = data['dataSources']['performanceCounters'] + if key_ds == 'windowsEventLogs': + body['data_sources']['windows_event_logs'] = data['dataSources']['windowsEventLogs'] + if key_ds == 'syslog': + body['data_sources']['syslog'] = data['dataSources']['syslog'] + if key_ds == 'extensions': + body['data_sources']['extensions'] = data['dataSources']['extensions'] + if key == 'destinations': + body['destinations'] = {} + for key_de in data['destinations']: + if key_de == 'logAnalytics': + body['destinations']['log_analytics'] = data['destinations']['logAnalytics'] + if key_de == 'azureMonitorMetrics': + body['destinations']['azure_monitor_metrics'] = data['destinations']['azureMonitorMetrics'] + if key == 'dataFlows': + body['data_flows'] = data['dataFlows'] return _data_collection_rules_create(client, resource_group_name=resource_group_name, data_collection_rule_name=data_collection_rule_name, diff --git a/src/monitor-control-service/azext_amcs/tests/__init__.py b/src/monitor-control-service/azext_amcs/tests/__init__.py new file mode 100644 index 00000000000..70488e93851 --- /dev/null +++ b/src/monitor-control-service/azext_amcs/tests/__init__.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +import inspect +import logging +import os +import sys +import traceback +import datetime as dt + +from azure.core.exceptions import AzureError +from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError + + +logger = logging.getLogger('azure.cli.testsdk') +logger.addHandler(logging.StreamHandler()) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) +exceptions = [] +test_map = dict() +SUCCESSED = "successed" +FAILED = "failed" + + +def try_manual(func): + def import_manual_function(origin_func): + from importlib import import_module + decorated_path = inspect.getfile(origin_func).lower() + module_path = __path__[0].lower() + if not decorated_path.startswith(module_path): + raise Exception("Decorator can only be used in submodules!") + manual_path = os.path.join( + decorated_path[module_path.rfind(os.path.sep) + 1:]) + manual_file_path, manual_file_name = os.path.split(manual_path) + module_name, _ = os.path.splitext(manual_file_name) + manual_module = "..manual." + \ + ".".join(manual_file_path.split(os.path.sep) + [module_name, ]) + return getattr(import_module(manual_module, package=__name__), origin_func.__name__) + + def get_func_to_call(): + func_to_call = func + try: + func_to_call = import_manual_function(func) + logger.info("Found manual override for %s(...)", func.__name__) + except (ImportError, AttributeError): + pass + return func_to_call + + def wrapper(*args, **kwargs): + func_to_call = get_func_to_call() + logger.info("running %s()...", func.__name__) + try: + test_map[func.__name__] = dict() + test_map[func.__name__]["result"] = SUCCESSED + test_map[func.__name__]["error_message"] = "" + test_map[func.__name__]["error_stack"] = "" + test_map[func.__name__]["error_normalized"] = "" + test_map[func.__name__]["start_dt"] = dt.datetime.utcnow() + ret = func_to_call(*args, **kwargs) + except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit, + JMESPathCheckAssertionError) as e: + use_exception_cache = os.getenv("TEST_EXCEPTION_CACHE") + if use_exception_cache is None or use_exception_cache.lower() != "true": + raise + test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() + test_map[func.__name__]["result"] = FAILED + test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500] + test_map[func.__name__]["error_stack"] = traceback.format_exc().replace( + "\r\n", " ").replace("\n", " ")[:500] + logger.info("--------------------------------------") + logger.info("step exception: %s", e) + logger.error("--------------------------------------") + logger.error("step exception in %s: %s", func.__name__, e) + logger.info(traceback.format_exc()) + exceptions.append((func.__name__, sys.exc_info())) + else: + test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() + return ret + + if inspect.isclass(func): + return get_func_to_call() + return wrapper + + +def calc_coverage(filename): + filename = filename.split(".")[0] + coverage_name = filename + "_coverage.md" + with open(coverage_name, "w") as f: + f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n") + total = len(test_map) + covered = 0 + for k, v in test_map.items(): + if not k.startswith("step_"): + total -= 1 + continue + if v["result"] == SUCCESSED: + covered += 1 + f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|" + "{end_dt}|\n".format(step_name=k, **v)) + f.write("Coverage: {}/{}\n".format(covered, total)) + print("Create coverage\n", file=sys.stderr) + + +def raise_if(): + if exceptions: + if len(exceptions) <= 1: + raise exceptions[0][1][1] + message = "{}\nFollowed with exceptions in other steps:\n".format(str(exceptions[0][1][1])) + message += "\n".join(["{}: {}".format(h[0], h[1][1]) for h in exceptions[1:]]) + raise exceptions[0][1][0](message).with_traceback(exceptions[0][1][2]) 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 ac82fb12053..bf20c98d07a 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,21 +13,21 @@ interactions: ParameterSetName: - -g -n --public-network-access User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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":"2021-05-27T07:25:20Z"},"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":"2022-04-20T10:08:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '433' + - '339' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:25 GMT + - Wed, 20 Apr 2022 10:09:01 GMT expires: - '-1' pragma: @@ -60,23 +60,23 @@ interactions: ParameterSetName: - -g -n --public-network-access User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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-20a0c7744d92462dab029b274da94533","configurationAccess":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.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":"\"01005984-0000-3400-0000-60af496e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:32.1877003Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:32.1877003Z"}}' + string: '{"properties":{"immutableId":"dce-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"81003e06-0000-3300-0000-625fdbc90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:10.6461997Z"}}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '940' + - '919' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:35 GMT + - Wed, 20 Apr 2022 10:09:14 GMT expires: - '-1' pragma: @@ -112,23 +112,23 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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-20a0c7744d92462dab029b274da94533","configurationAccess":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.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":"\"01005984-0000-3400-0000-60af496e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:32.1877003Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:32.1877003Z"}}' + string: '{"properties":{"immutableId":"dce-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"81003e06-0000-3300-0000-625fdbc90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:10.6461997Z"}}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '940' + - '919' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:37 GMT + - Wed, 20 Apr 2022 10:09:17 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "kind": "Windows", "properties": {"immutableId": - "dce-20a0c7744d92462dab029b274da94533", "configurationAccess": {}, "logsIngestion": + "dce-31559754beb442ce9682b3be573b36b7", "configurationAccess": {}, "logsIngestion": {}, "networkAcls": {"publicNetworkAccess": "Enabled"}}}' headers: Accept: @@ -168,23 +168,23 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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-20a0c7744d92462dab029b274da94533","configurationAccess":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.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":"\"01006184-0000-3400-0000-60af49730000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:32.1877003Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:39.2156275Z"}}' + string: '{"properties":{"immutableId":"dce-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"8100fc07-0000-3300-0000-625fdbd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:20.0155011Z"}}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '956' + - '935' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:42 GMT + - Wed, 20 Apr 2022 10:09:25 GMT expires: - '-1' pragma: @@ -220,21 +220,21 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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":"2021-05-27T07:25:20Z"},"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":"2022-04-20T10:08:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '433' + - '339' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:43 GMT + - Wed, 20 Apr 2022 10:09:26 GMT expires: - '-1' pragma: @@ -267,23 +267,23 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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-fb5a318363404a6d99c12ad2d598066e","configurationAccess":{"endpoint":"https://endpoint2-e5xp.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-e5xp.eastus2euap-1.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":"\"01006584-0000-3400-0000-60af497e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:48.438582Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:48.438582Z"}}' + string: '{"properties":{"immutableId":"dce-8aff2661cdd44b3d85687165c509202a","configurationAccess":{"endpoint":"https://endpoint2-j5je.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-j5je.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":"\"8100870b-0000-3300-0000-625fdbe10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:35.5087136Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:35.5087136Z"}}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '952' + - '933' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:51 GMT + - Wed, 20 Apr 2022 10:09:38 GMT expires: - '-1' pragma: @@ -319,23 +319,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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-fb5a318363404a6d99c12ad2d598066e","configurationAccess":{"endpoint":"https://endpoint2-e5xp.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-e5xp.eastus2euap-1.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":"\"01006584-0000-3400-0000-60af497e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:48.438582Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:48.438582Z"}}' + string: '{"properties":{"immutableId":"dce-8aff2661cdd44b3d85687165c509202a","configurationAccess":{"endpoint":"https://endpoint2-j5je.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-j5je.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":"\"8100870b-0000-3300-0000-625fdbe10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:35.5087136Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:35.5087136Z"}}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '952' + - '933' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:53 GMT + - Wed, 20 Apr 2022 10:09:41 GMT expires: - '-1' pragma: @@ -369,23 +369,23 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints?api-version=2021-04-01 + 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-20a0c7744d92462dab029b274da94533","configurationAccess":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.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":"\"01006184-0000-3400-0000-60af49730000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:32.1877003Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:39.2156275Z"}},{"properties":{"immutableId":"dce-fb5a318363404a6d99c12ad2d598066e","configurationAccess":{"endpoint":"https://endpoint2-e5xp.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-e5xp.eastus2euap-1.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":"\"01006584-0000-3400-0000-60af497e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:48.438582Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:48.438582Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"8100fc07-0000-3300-0000-625fdbd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:20.0155011Z"}},{"properties":{"immutableId":"dce-8aff2661cdd44b3d85687165c509202a","configurationAccess":{"endpoint":"https://endpoint2-j5je.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-j5je.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":"\"8100870b-0000-3300-0000-625fdbe10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:35.5087136Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:35.5087136Z"}}],"nextLink":null}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1937' + - '1897' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:25:55 GMT + - Wed, 20 Apr 2022 10:09:44 GMT expires: - '-1' pragma: @@ -421,21 +421,75 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (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-04-01 + 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: '' + 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-j5je'' + 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."}}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache + connection: + - close content-length: + - '551' + content-type: + - application/json + date: + - Wed, 20 Apr 2022 10:09:48 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.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (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, 27 May 2021 07:26:02 GMT + - Wed, 20 Apr 2022 10:09:56 GMT expires: - '-1' pragma: @@ -451,8 +505,8 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14998' status: - code: 200 - message: OK + code: 204 + message: No Content - request: body: null headers: @@ -467,23 +521,23 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_endpoints000001/providers/Microsoft.Insights/dataCollectionEndpoints?api-version=2021-04-01 + 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-20a0c7744d92462dab029b274da94533","configurationAccess":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-v5th.eastus2euap-1.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":"\"01006184-0000-3400-0000-60af49730000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T07:25:32.1877003Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T07:25:39.2156275Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"8100fc07-0000-3300-0000-625fdbd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:20.0155011Z"}}],"nextLink":null}' headers: api-supported-versions: - - '2021-04-01' + - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '984' + - '963' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 07:26:04 GMT + - Wed, 20 Apr 2022 10:09:57 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml new file mode 100644 index 00000000000..7fec2edf2e3 --- /dev/null +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml @@ -0,0 +1,369 @@ +interactions: +- request: + body: '{"location": "westus2", "properties": {"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"]}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule create + Connection: + - keep-alive + Content-Length: + - '450' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location --name --rule-file + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview + response: + body: + string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600cac1-0000-0800-0000-625fdcd00000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:35.3784925Z"}}' + headers: + api-supported-versions: + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview + cache-control: + - no-cache + content-length: + - '1028' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 Apr 2022 10:13:37 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 + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '148' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --performance-counters + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview + response: + body: + string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600cac1-0000-0800-0000-625fdcd00000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:35.3784925Z"}}' + headers: + api-supported-versions: + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview + cache-control: + - no-cache + content-length: + - '1028' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 Apr 2022 10:13:39 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 + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "properties": {"dataSources": {"performanceCounters": + [{"streams": ["Microsoft-InsightsMetrics"], "samplingFrequencyInSeconds": 20, + "counterSpecifiers": ["[\\Processor Information(_Total)\\% Processor Time]"], + "name": "perfCounter02"}]}, "destinations": {"azureMonitorMetrics": {"name": + "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], + "destinations": ["azureMonitorMetrics-default"]}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule update + Connection: + - keep-alive + Content-Length: + - '452' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --performance-counters + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview + response: + body: + string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600e0c1-0000-0800-0000-625fdcd40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:39.888838Z"}}' + headers: + api-supported-versions: + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview + cache-control: + - no-cache + content-length: + - '1029' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 Apr 2022 10:13:40 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 + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '149' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview + response: + body: + string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600e0c1-0000-0800-0000-625fdcd40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:39.888838Z"}}' + headers: + api-supported-versions: + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview + cache-control: + - no-cache + content-length: + - '1029' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 Apr 2022 10:13:42 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 + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600e0c1-0000-0800-0000-625fdcd40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:39.888838Z"}}],"nextLink":null}' + headers: + api-supported-versions: + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview + cache-control: + - no-cache + content-length: + - '1057' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 Apr 2022 10:13:43 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 + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -y + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview + response: + body: + string: '' + headers: + api-supported-versions: + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 20 Apr 2022 10:13:48 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-ratelimit-remaining-subscription-deletes: + - '14997' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor data-collection rule list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 Apr 2022 10:13:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml index 66d9be3d0ca..2f4569bdf32 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml @@ -19,34 +19,34 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-loganalytics/8.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"e1f3c979-79c2-4132-95eb-ef451a1d189b\",\r\n \"provisioningState\": \"Creating\",\r\n + \"4dbc197d-9776-4845-8c85-96db7ec6b21e\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 27 May 2021 05:00:43 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:58:42 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\": \"Fri, 28 May 2021 03:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 27 May 2021 05:00:43 GMT\",\r\n \"modifiedDate\": \"Thu, 27 May - 2021 05:00:43 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Wed, 20 Apr 2022 10:58:42 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr + 2022 10:58:42 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}" headers: cache-control: - no-cache content-length: - - '1183' + - '1107' content-type: - application/json date: - - Thu, 27 May 2021 05:00:44 GMT + - Wed, 20 Apr 2022 10:58:43 GMT pragma: - no-cache server: @@ -57,7 +57,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -78,34 +78,34 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-loganalytics/8.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"e1f3c979-79c2-4132-95eb-ef451a1d189b\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"4dbc197d-9776-4845-8c85-96db7ec6b21e\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 27 May 2021 05:00:43 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:58:42 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\": \"Fri, 28 May 2021 03:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 27 May 2021 05:00:43 GMT\",\r\n \"modifiedDate\": \"Thu, 27 May - 2021 05:00:46 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Wed, 20 Apr 2022 10:58:42 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr + 2022 10:58:43 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}" headers: cache-control: - no-cache content-length: - - '1183' + - '1107' content-type: - application/json date: - - Thu, 27 May 2021 05:01:14 GMT + - Wed, 20 Apr 2022 10:59:14 GMT pragma: - no-cache server: @@ -145,34 +145,34 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-loganalytics/8.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"54976f20-00d4-4abf-a6b6-fcf82ee13639\",\r\n \"provisioningState\": \"Creating\",\r\n + \"1604fb14-a6e1-4170-9f7f-fa3b901aa94c\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 27 May 2021 05:01:23 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:21 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\": \"Thu, 27 May 2021 07:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 20 Apr 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 27 May 2021 05:01:23 GMT\",\r\n \"modifiedDate\": \"Thu, 27 May - 2021 05:01:23 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Wed, 20 Apr 2022 10:59:21 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr + 2022 10:59:21 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}" headers: cache-control: - no-cache content-length: - - '1183' + - '1107' content-type: - application/json date: - - Thu, 27 May 2021 05:01:24 GMT + - Wed, 20 Apr 2022 10:59:21 GMT pragma: - no-cache server: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' x-powered-by: - ASP.NET - ASP.NET @@ -204,34 +204,34 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-loganalytics/8.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"54976f20-00d4-4abf-a6b6-fcf82ee13639\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"1604fb14-a6e1-4170-9f7f-fa3b901aa94c\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 27 May 2021 05:01:23 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:21 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\": \"Thu, 27 May 2021 07:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 20 Apr 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 27 May 2021 05:01:23 GMT\",\r\n \"modifiedDate\": \"Thu, 27 May - 2021 05:01:24 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Wed, 20 Apr 2022 10:59:21 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr + 2022 10:59:21 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}" headers: cache-control: - no-cache content-length: - - '1183' + - '1107' content-type: - application/json date: - - Thu, 27 May 2021 05:01:54 GMT + - Wed, 20 Apr 2022 10:59:52 GMT pragma: - no-cache server: @@ -271,34 +271,34 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-loganalytics/8.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"1fb933a2-3b43-4ede-acbd-ec1fa089717d\",\r\n \"provisioningState\": \"Creating\",\r\n + \"eec63674-5cff-48cc-ae79-4f74c2d911d0\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 27 May 2021 05:02:03 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:57 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\": \"Thu, 27 May 2021 09:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 20 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 27 May 2021 05:02:03 GMT\",\r\n \"modifiedDate\": \"Thu, 27 May - 2021 05:02:03 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Wed, 20 Apr 2022 10:59:57 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr + 2022 10:59:57 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}" headers: cache-control: - no-cache content-length: - - '1183' + - '1107' content-type: - application/json date: - - Thu, 27 May 2021 05:02:04 GMT + - Wed, 20 Apr 2022 10:59:57 GMT pragma: - no-cache server: @@ -309,7 +309,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' x-powered-by: - ASP.NET - ASP.NET @@ -330,34 +330,34 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-loganalytics/8.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"1fb933a2-3b43-4ede-acbd-ec1fa089717d\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"eec63674-5cff-48cc-ae79-4f74c2d911d0\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 27 May 2021 05:02:03 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:57 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\": \"Thu, 27 May 2021 09:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 20 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 27 May 2021 05:02:03 GMT\",\r\n \"modifiedDate\": \"Thu, 27 May - 2021 05:02:05 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Wed, 20 Apr 2022 10:59:57 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr + 2022 10:59:58 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}" headers: cache-control: - no-cache content-length: - - '1183' + - '1107' content-type: - application/json date: - - Thu, 27 May 2021 05:02:35 GMT + - Wed, 20 Apr 2022 11:00:28 GMT pragma: - no-cache server: @@ -391,21 +391,21 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-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":"2021-05-27T05:00:29Z"},"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","date":"2022-04-20T10:58:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '304' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:02:36 GMT + - Wed, 20 Apr 2022 11:00:29 GMT expires: - '-1' pragma: @@ -419,105 +419,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/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 },\n - \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": - \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n - \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n - \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": - \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": - \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": - {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n - \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n - \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": - \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n - \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n - \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n - \ \"version\": \"latest\"\n }\n },\n \"Windows\": - {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": - \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n - \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": - \"latest\"\n }\n }\n }\n }\n }\n}\n" - headers: - accept-ranges: - - bytes - access-control-allow-origin: - - '*' - cache-control: - - max-age=300 - connection: - - keep-alive - content-length: - - '2501' - content-security-policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - content-type: - - text/plain; charset=utf-8 - date: - - Thu, 27 May 2021 05:02:37 GMT - etag: - - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" - expires: - - Thu, 27 May 2021 05:07:37 GMT - source-age: - - '0' - strict-transport-security: - - max-age=31536000 - vary: - - Authorization,Accept-Encoding - via: - - 1.1 varnish - x-cache: - - HIT - x-cache-hits: - - '1' - x-content-type-options: - - nosniff - x-fastly-request-id: - - 182007291e6b82255e79daa85764cc13a4c5e26c - x-frame-options: - - deny - x-github-request-id: - - 7E5E:3B3E:63EE34:75DB8C:60AF1DE6 - x-served-by: - - cache-qpg1269-QPG - x-timer: - - S1622091757.967009,VS0,VE287 - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK - request: body: null headers: @@ -532,7 +433,7 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -546,7 +447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:02:37 GMT + - Wed, 20 Apr 2022 11:00:49 GMT expires: - '-1' pragma: @@ -582,16 +483,17 @@ 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": "2020-12-01", "type": "Microsoft.Compute/virtualMachines", "name": + {"apiVersion": "2021-07-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"}]}, - "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": - "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": - {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": - "latest"}}, "osProfile": {"computerName": "vm1", "adminUsername": "testadmin", - "adminPassword": "[parameters(''adminPassword'')]"}}}], "outputs": {}}, "parameters": - {"adminPassword": {"value": "TestPassword11!!"}}, "mode": "incremental"}}' + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic", + "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": + "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": + null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", + "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm1", + "adminUsername": "testadmin", "adminPassword": "[parameters(''adminPassword'')]"}, + "additionalCapabilities": {}}}], "outputs": {}}, "parameters": {"adminPassword": + {"value": "TestPassword11!!"}}, "mode": "incremental"}}' headers: Accept: - application/json @@ -602,29 +504,29 @@ interactions: Connection: - keep-alive Content-Length: - - '3316' + - '3136' Content-Type: - application/json ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_wJCgfYlJ8wEzfv4f9A3TCBTcmv2yG4JH","name":"vm_deploy_wJCgfYlJ8wEzfv4f9A3TCBTcmv2yG4JH","type":"Microsoft.Resources/deployments","properties":{"templateHash":"697295396846284346","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-27T05:02:42.619245Z","duration":"PT2.459995S","correlationId":"6278bf0f-a9b0-444b-8e5b-69b426a361d1","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_s1Z5x68vDY8VEngZan71rIVZncqKa32V","name":"vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10929778468346485361","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-20T11:00:55.4348924Z","duration":"PT0.000658S","correlationId":"17f03278-16a8-4b3b-8a63-b1f3aacb56e7","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_wJCgfYlJ8wEzfv4f9A3TCBTcmv2yG4JH/operationStatuses/08585795151253183926?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V/operationStatuses/08585511544325673185?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2778' + - '2347' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:02:43 GMT + - Wed, 20 Apr 2022 11:00:56 GMT expires: - '-1' pragma: @@ -652,9 +554,9 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585795151253183926?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585511544325673185?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -666,7 +568,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:03:14 GMT + - Wed, 20 Apr 2022 11:01:26 GMT expires: - '-1' pragma: @@ -694,51 +596,9 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585795151253183926?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 27 May 2021 05:03:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-password --admin-username --authentication-type - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585795151253183926?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585511544325673185?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -750,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:14 GMT + - Wed, 20 Apr 2022 11:01:56 GMT expires: - '-1' pragma: @@ -778,21 +638,21 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_wJCgfYlJ8wEzfv4f9A3TCBTcmv2yG4JH","name":"vm_deploy_wJCgfYlJ8wEzfv4f9A3TCBTcmv2yG4JH","type":"Microsoft.Resources/deployments","properties":{"templateHash":"697295396846284346","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-27T05:03:49.0282913Z","duration":"PT1M8.8690413S","correlationId":"6278bf0f-a9b0-444b-8e5b-69b426a361d1","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_s1Z5x68vDY8VEngZan71rIVZncqKa32V","name":"vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10929778468346485361","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-20T11:01:30.7671473Z","duration":"PT35.3329129S","correlationId":"17f03278-16a8-4b3b-8a63-b1f3aacb56e7","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: - - '3846' + - '3103' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:15 GMT + - Wed, 20 Apr 2022 11:01:57 GMT expires: - '-1' pragma: @@ -820,46 +680,47 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-07-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\": \"0a235e8d-d3d8-4119-b7fc-e04a7dc2bf67\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"124f6ead-e248-41c1-b517-d3c277c75f0c\",\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.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_OsDisk_1_d09f6bcdeee04c2385abfad23784df25\",\r\n + \"18.04.202204190\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"vm1_disk1_fd6bba2c113c476e96ddf493997f0b50\",\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_OsDisk_1_d09f6bcdeee04c2385abfad23784df25\"\r\n - \ },\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 - \ }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_fd6bba2c113c476e96ddf493997f0b50\"\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 },\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.3.0.2\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.7.1.0\",\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\": - \"2021-05-27T05:04:00+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_d09f6bcdeee04c2385abfad23784df25\",\r\n + \"2022-04-20T11:01:36+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_fd6bba2c113c476e96ddf493997f0b50\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-27T05:03:20.6650778+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-20T11:01:13.0188846+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\": \"2021-05-27T05:03:47.6494974+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-20T11:01:26.0976054+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 }\r\n}" @@ -867,11 +728,11 @@ interactions: cache-control: - no-cache content-length: - - '3261' + - '3146' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:16 GMT + - Wed, 20 Apr 2022 11:01:58 GMT expires: - '-1' pragma: @@ -888,7 +749,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31955 status: code: 200 message: OK @@ -906,18 +767,18 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-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/\\\"cae235b3-f078-4e65-acfb-8061bc6792c4\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"58ed358d-0016-4d04-8e6f-e9e36e5493b6\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"ba7b35de-3f41-4f51-adae-9ce0f74d48c8\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"89d04a26-c382-46a9-9ee5-84c68135f082\",\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/\\\"cae235b3-f078-4e65-acfb-8061bc6792c4\\\"\",\r\n + \ \"etag\": \"W/\\\"58ed358d-0016-4d04-8e6f-e9e36e5493b6\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -926,10 +787,9 @@ interactions: \ },\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\": - \"h2fageeraunevd35g4lbxmsthh.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-33-DA-A9\",\r\n \"enableAcceleratedNetworking\": 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 + \"3qxflr300wruhewqmtnkl2oeva.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-04-46-2A\",\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 },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" @@ -937,13 +797,13 @@ interactions: cache-control: - no-cache content-length: - - '2568' + - '2153' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:17 GMT + - Wed, 20 Apr 2022 11:02:00 GMT etag: - - W/"cae235b3-f078-4e65-acfb-8061bc6792c4" + - W/"58ed358d-0016-4d04-8e6f-e9e36e5493b6" expires: - '-1' pragma: @@ -960,7 +820,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3f5b88f3-499c-4a57-a966-0aa1d33b2c9e + - 95de4faa-96ed-4b11-a348-a0b001e7fce2 status: code: 200 message: OK @@ -978,16 +838,16 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-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/\\\"bdf3af73-d300-4abe-8600-66387e7da23c\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"baa5400e-c024-4cf7-9f38-13b8edb82a58\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"888384cb-1ed2-47ba-a49a-db6a8724735a\",\r\n - \ \"ipAddress\": \"104.42.45.39\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"01ef944c-d05f-4b5e-9d4e-da13fe32f957\",\r\n + \ \"ipAddress\": \"13.93.138.218\",\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 @@ -996,13 +856,13 @@ interactions: cache-control: - no-cache content-length: - - '996' + - '873' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:17 GMT + - Wed, 20 Apr 2022 11:02:00 GMT etag: - - W/"bdf3af73-d300-4abe-8600-66387e7da23c" + - W/"baa5400e-c024-4cf7-9f38-13b8edb82a58" expires: - '-1' pragma: @@ -1019,26 +879,17 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f0a16fa3-53dd-4317-9ab0-f37886358001 + - db7782e7-674c-4bb0-bd22-47d227d680ff status: code: 200 message: OK - request: body: '{"location": "eastus", "properties": {"dataSources": {"performanceCounters": - [{"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 15, "counterSpecifiers": - ["\\Processor(_Total)\\% Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free - Megabytes", "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + [{"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"]}]}}' headers: Accept: - application/json @@ -1049,35 +900,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1454' + - '449' Content-Type: - application/json ParameterSetName: - - -g -n --location --data-flows --log-analytics --performance-counters --performance-counters - --syslog --windows-event-logs --windows-event-logs + - -g -n --location --rule-file User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033e81-0000-0100-0000-60af28570000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:21.728359Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2099' + - '1033' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:25 GMT + - Wed, 20 Apr 2022 11:02:06 GMT expires: - '-1' pragma: @@ -1095,7 +941,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '148' status: code: 200 message: OK @@ -1113,28 +959,24 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033e81-0000-0100-0000-60af28570000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:21.728359Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2099' + - '1033' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:27 GMT + - Wed, 20 Apr 2022 11:02:09 GMT expires: - '-1' pragma: @@ -1168,28 +1010,24 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033e81-0000-0100-0000-60af28570000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:21.728359Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2127' + - '1061' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:28 GMT + - Wed, 20 Apr 2022 11:02:10 GMT expires: - '-1' pragma: @@ -1221,44 +1059,35 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033e81-0000-0100-0000-60af28570000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:21.728359Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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: - api-supported-versions: - - 2019-11-01-preview, 2021-04-01 cache-control: - no-cache content-length: - - '2127' + - '8619' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:31 GMT + - Wed, 20 Apr 2022 11:02:11 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 - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff + x-ms-original-request-ids: + - ff14a10d-7675-4d77-948f-a188a3b73261 + - 9e0fae7f-0be3-4595-a165-5e13a8652d51 status: code: 200 message: OK @@ -1276,28 +1105,24 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033e81-0000-0100-0000-60af28570000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:21.728359Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2099' + - '1033' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:33 GMT + - Wed, 20 Apr 2022 11:02:13 GMT expires: - '-1' pragma: @@ -1319,21 +1144,11 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -1344,34 +1159,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1503' + - '498' Content-Type: - application/json ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24030b82-0000-0100-0000-60af28630000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:34.6668503Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030080f4-0000-0100-0000-625fe8360000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:14.4419801Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1075' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:38 GMT + - Wed, 20 Apr 2022 11:02:16 GMT expires: - '-1' pragma: @@ -1389,7 +1200,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '148' status: code: 200 message: OK @@ -1407,28 +1218,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24030b82-0000-0100-0000-60af28630000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:34.6668503Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030080f4-0000-0100-0000-625fe8360000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:14.4419801Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1075' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:39 GMT + - Wed, 20 Apr 2022 11:02:17 GMT expires: - '-1' pragma: @@ -1450,22 +1257,12 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}, {"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003", - "name": "clitest000003"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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", + "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, + "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: Accept: - application/json @@ -1476,34 +1273,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1778' + - '715' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24034e82-0000-0100-0000-60af28680000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:39.7318852Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:40 GMT + - Wed, 20 Apr 2022 11:02:18 GMT expires: - '-1' pragma: @@ -1521,7 +1314,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '58' + - '148' status: code: 200 message: OK @@ -1539,28 +1332,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24034e82-0000-0100-0000-60af28680000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:39.7318852Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:42 GMT + - Wed, 20 Apr 2022 11:02:20 GMT expires: - '-1' pragma: @@ -1594,28 +1383,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24034e82-0000-0100-0000-60af28680000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:39.7318852Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:44 GMT + - Wed, 20 Apr 2022 11:02:22 GMT expires: - '-1' pragma: @@ -1649,28 +1434,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24034e82-0000-0100-0000-60af28680000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:39.7318852Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:46 GMT + - Wed, 20 Apr 2022 11:02:23 GMT expires: - '-1' pragma: @@ -1692,22 +1473,12 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}, {"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004", - "name": "clitest000003"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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", + "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, + "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: Accept: - application/json @@ -1718,34 +1489,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1778' + - '715' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004","workspaceId":"1fb933a2-3b43-4ede-acbd-ec1fa089717d","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403d582-0000-0100-0000-60af28700000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:47.1234635Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"eec63674-5cff-48cc-ae79-4f74c2d911d0","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":"\"0300aff4-0000-0100-0000-625fe8400000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:24.3477312Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:48 GMT + - Wed, 20 Apr 2022 11:02:24 GMT expires: - '-1' pragma: @@ -1763,7 +1530,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '147' status: code: 200 message: OK @@ -1781,28 +1548,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004","workspaceId":"1fb933a2-3b43-4ede-acbd-ec1fa089717d","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403d582-0000-0100-0000-60af28700000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:47.1234635Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"eec63674-5cff-48cc-ae79-4f74c2d911d0","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":"\"0300aff4-0000-0100-0000-625fe8400000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:24.3477312Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:49 GMT + - Wed, 20 Apr 2022 11:02:26 GMT expires: - '-1' pragma: @@ -1824,21 +1587,11 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -1849,34 +1602,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1503' + - '518' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403fe82-0000-0100-0000-60af28730000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:50.6813746Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"0300bcf4-0000-0100-0000-625fe8430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:27.6216682Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1093' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:50 GMT + - Wed, 20 Apr 2022 11:02:27 GMT expires: - '-1' pragma: @@ -1894,7 +1643,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '147' status: code: 200 message: OK @@ -1913,28 +1662,24 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403fe82-0000-0100-0000-60af28730000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:50.6813746Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"0300bcf4-0000-0100-0000-625fe8430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:27.6216682Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1093' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:53 GMT + - Wed, 20 Apr 2022 11:02:31 GMT expires: - '-1' pragma: @@ -1956,23 +1701,13 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}, {"streams": - ["Microsoft-Perf"], "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Memory\\Committed - Bytes", "\\Processor(_Total)\\% Processor Time"], "name": "extraCounters"}], - "windowsEventLogs": [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": - ["Security!"], "name": "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], + "samplingFrequencyInSeconds": 10, "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"]}]}}' headers: Accept: - application/json @@ -1983,36 +1718,32 @@ interactions: Connection: - keep-alive Content-Length: - - '1688' + - '703' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033083-0000-0100-0000-60af28760000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:53.8305782Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2318' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:54 GMT + - Wed, 20 Apr 2022 11:02:32 GMT expires: - '-1' pragma: @@ -2030,7 +1761,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '147' status: code: 200 message: OK @@ -2048,29 +1779,25 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033083-0000-0100-0000-60af28760000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:53.8305782Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2318' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:56 GMT + - Wed, 20 Apr 2022 11:02:33 GMT expires: - '-1' pragma: @@ -2104,29 +1831,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033083-0000-0100-0000-60af28760000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:53.8305782Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2318' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:56 GMT + - Wed, 20 Apr 2022 11:02:34 GMT expires: - '-1' pragma: @@ -2160,29 +1883,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Memory\\Committed - Bytes","\\Processor(_Total)\\% Processor Time"],"name":"extraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24033083-0000-0100-0000-60af28760000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:53.8305782Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2318' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:58 GMT + - Wed, 20 Apr 2022 11:02:36 GMT expires: - '-1' pragma: @@ -2204,23 +1923,13 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], + "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], + "samplingFrequencyInSeconds": 10, "counterSpecifiers": ["\\Processor Information(_Total)\\% + Processor Time"], "name": "perfCounter01"}, {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}, {"streams": - ["Microsoft-Perf"], "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time"], "name": "extraCounters"}], "windowsEventLogs": [{"streams": - ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": "cloudSecurityTeamEvents"}, - {"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": "appTeam1AppEvents"}], "syslog": [{"streams": - ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": ["Alert", "Critical", - "Emergency"], "name": "syslogBase"}]}, "destinations": {"logAnalytics": [{"workspaceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + Processor Time"], "name": "extraCounters"}]}, "destinations": {"logAnalytics": + [], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, "dataFlows": + [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: Accept: - application/json @@ -2231,35 +1940,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1659' + - '674' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time"],"name":"extraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24039d83-0000-0100-0000-60af287a0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:58.6286179Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300e6f4-0000-0100-0000-625fe84d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:37.0845489Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2290' + - '1241' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:04:59 GMT + - Wed, 20 Apr 2022 11:02:37 GMT expires: - '-1' pragma: @@ -2277,7 +1982,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '58' + - '149' status: code: 200 message: OK @@ -2295,29 +2000,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time"],"name":"extraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24039d83-0000-0100-0000-60af287a0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:04:58.6286179Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300e6f4-0000-0100-0000-625fe84d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:37.0845489Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2290' + - '1241' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:01 GMT + - Wed, 20 Apr 2022 11:02:37 GMT expires: - '-1' pragma: @@ -2339,21 +2040,11 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -2364,34 +2055,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1503' + - '518' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403bf83-0000-0100-0000-60af287e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:01.6532559Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"0300f0f4-0000-0100-0000-625fe84f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:38.8631494Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1093' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:02 GMT + - Wed, 20 Apr 2022 11:02:38 GMT expires: - '-1' pragma: @@ -2409,7 +2096,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '149' status: code: 200 message: OK @@ -2427,28 +2114,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403bf83-0000-0100-0000-60af287e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:01.6532559Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"0300f0f4-0000-0100-0000-625fe84f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:38.8631494Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1093' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:03 GMT + - Wed, 20 Apr 2022 11:02:39 GMT expires: - '-1' pragma: @@ -2470,24 +2153,14 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}, {"streams": + "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], + "samplingFrequencyInSeconds": 10, "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"}], "syslog": [{"streams": ["Microsoft-Syslog"], - "facilityNames": ["syslog"], "logLevels": ["Alert", "Critical", "Emergency"], - "name": "syslogBase"}]}, "destinations": {"logAnalytics": [{"workspaceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + = 3)]]"], "name": "extraEvents"}]}, "destinations": {"logAnalytics": [], "azureMonitorMetrics": + {"name": "azureMonitorMetrics-default"}}, "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], + "destinations": ["azureMonitorMetrics-default"]}]}}' headers: Accept: - application/json @@ -2498,36 +2171,32 @@ interactions: Connection: - keep-alive Content-Length: - - '1707' + - '744' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"},{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403f483-0000-0100-0000-60af28800000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:04.5906857Z"}}' + = 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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2339' + - '1311' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:04 GMT + - Wed, 20 Apr 2022 11:02:40 GMT expires: - '-1' pragma: @@ -2545,7 +2214,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '146' status: code: 200 message: OK @@ -2563,30 +2232,26 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"appTeam1AppEvents"},{"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"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403f483-0000-0100-0000-60af28800000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:04.5906857Z"}}' + = 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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2339' + - '1311' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:05 GMT + - Wed, 20 Apr 2022 11:02:40 GMT expires: - '-1' pragma: @@ -2620,30 +2285,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"},{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403f483-0000-0100-0000-60af28800000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:04.5906857Z"}}' + = 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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2339' + - '1311' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:07 GMT + - Wed, 20 Apr 2022 11:02:42 GMT expires: - '-1' pragma: @@ -2677,30 +2338,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["System![System[(Level + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"appTeam1AppEvents"},{"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"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403f483-0000-0100-0000-60af28800000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:04.5906857Z"}}' + = 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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2339' + - '1311' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:09 GMT + - Wed, 20 Apr 2022 11:02:43 GMT expires: - '-1' pragma: @@ -2722,23 +2379,13 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}, {"streams": + "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-InsightsMetrics"], + "samplingFrequencyInSeconds": 10, "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"}], "syslog": [{"streams": - ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": ["Alert", "Critical", - "Emergency"], "name": "syslogBase"}]}, "destinations": {"logAnalytics": [{"workspaceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + 1 or Level = 2 or Level = 3)]]"], "name": "extraEvents"}]}, "destinations": + {"logAnalytics": [], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, + "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: Accept: - application/json @@ -2749,35 +2396,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1649' + - '686' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"},{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Application!*[System[(Level - = 1 or Level = 2 or Level = 3)]]"],"name":"extraEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24034584-0000-0100-0000-60af28860000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:10.5712585Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"030008f5-0000-0100-0000-625fe8530000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:43.6505169Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2282' + - '1254' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:11 GMT + - Wed, 20 Apr 2022 11:02:43 GMT expires: - '-1' pragma: @@ -2795,7 +2438,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '146' status: code: 200 message: OK @@ -2813,29 +2456,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"},{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Application!*[System[(Level - = 1 or Level = 2 or Level = 3)]]"],"name":"extraEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24034584-0000-0100-0000-60af28860000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:10.5712585Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"030008f5-0000-0100-0000-625fe8530000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:43.6505169Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2282' + - '1254' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:12 GMT + - Wed, 20 Apr 2022 11:02:44 GMT expires: - '-1' pragma: @@ -2857,21 +2496,11 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -2882,34 +2511,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1503' + - '542' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24036984-0000-0100-0000-60af288a0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:13.6485434Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030014f5-0000-0100-0000-625fe8550000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:45.2720147Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1115' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:14 GMT + - Wed, 20 Apr 2022 11:02:45 GMT expires: - '-1' pragma: @@ -2927,7 +2552,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '147' status: code: 200 message: OK @@ -2945,28 +2570,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24036984-0000-0100-0000-60af288a0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:13.6485434Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030014f5-0000-0100-0000-625fe8550000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:45.2720147Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1115' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:15 GMT + - Wed, 20 Apr 2022 11:02:46 GMT expires: - '-1' pragma: @@ -2988,23 +2609,13 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}, {"streams": ["Microsoft-Syslog"], - "facilityNames": ["cron"], "logLevels": ["Debug", "Critical", "Emergency"], - "name": "cronSyslog"}]}, "destinations": {"logAnalytics": [{"workspaceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -3015,34 +2626,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1636' + - '687' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"},{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24038484-0000-0100-0000-60af288c0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:15.737088Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2264' + - '1249' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:16 GMT + - Wed, 20 Apr 2022 11:02:46 GMT expires: - '-1' pragma: @@ -3060,7 +2667,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '149' status: code: 200 message: OK @@ -3078,28 +2685,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"},{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24038484-0000-0100-0000-60af288c0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:15.737088Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2264' + - '1249' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:17 GMT + - Wed, 20 Apr 2022 11:02:48 GMT expires: - '-1' pragma: @@ -3133,28 +2736,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"},{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24038484-0000-0100-0000-60af288c0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:15.737088Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2264' + - '1249' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:19 GMT + - Wed, 20 Apr 2022 11:02:48 GMT expires: - '-1' pragma: @@ -3188,28 +2787,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"},{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Debug","Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24038484-0000-0100-0000-60af288c0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:15.737088Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2264' + - '1249' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:19 GMT + - Wed, 20 Apr 2022 11:02:50 GMT expires: - '-1' pragma: @@ -3231,22 +2826,13 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}, {"streams": ["Microsoft-Syslog"], - "facilityNames": ["cron"], "logLevels": ["Critical", "Emergency"], "name": "cronSyslog"}]}, - "destinations": {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -3257,34 +2843,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1627' + - '678' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"},{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403d884-0000-0100-0000-60af28910000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:20.8260998Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"03002cf5-0000-0100-0000-625fe85a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:50.4388738Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2257' + - '1241' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:21 GMT + - Wed, 20 Apr 2022 11:02:50 GMT expires: - '-1' pragma: @@ -3302,7 +2884,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '145' status: code: 200 message: OK @@ -3320,28 +2902,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"},{"streams":["Microsoft-Syslog"],"facilityNames":["cron"],"logLevels":["Critical","Emergency"],"name":"cronSyslog"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"2403d884-0000-0100-0000-60af28910000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:20.8260998Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"03002cf5-0000-0100-0000-625fe85a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:50.4388738Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2257' + - '1241' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:24 GMT + - Wed, 20 Apr 2022 11:02:51 GMT expires: - '-1' pragma: @@ -3363,21 +2941,11 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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"]}]}}' headers: Accept: - application/json @@ -3388,34 +2956,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1503' + - '556' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24031385-0000-0100-0000-60af28940000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:24.3388454Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030034f5-0000-0100-0000-625fe85c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:52.1165806Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1127' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:25 GMT + - Wed, 20 Apr 2022 11:02:51 GMT expires: - '-1' pragma: @@ -3433,7 +2997,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '147' status: code: 200 message: OK @@ -3451,28 +3015,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24031385-0000-0100-0000-60af28940000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:24.3388454Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"\"030034f5-0000-0100-0000-625fe85c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:52.1165806Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2142' + - '1127' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:27 GMT + - Wed, 20 Apr 2022 11:02:52 GMT expires: - '-1' pragma: @@ -3494,22 +3054,12 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}, {"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003", - "name": "clitest000003"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}]}}' + "properties": {"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", + "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, + "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}]}}' headers: Accept: - application/json @@ -3520,34 +3070,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1778' + - '753' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24032c85-0000-0100-0000-60af28980000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:27.6480313Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"03003ff5-0000-0100-0000-625fe85e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:53.9475778Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1374' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:28 GMT + - Wed, 20 Apr 2022 11:02:54 GMT expires: - '-1' pragma: @@ -3565,7 +3111,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '146' status: code: 200 message: OK @@ -3583,28 +3129,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]}],"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":"\"24032c85-0000-0100-0000-60af28980000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:27.6480313Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"03003ff5-0000-0100-0000-625fe85e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:53.9475778Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2466' + - '1374' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:29 GMT + - Wed, 20 Apr 2022 11:02:54 GMT expires: - '-1' pragma: @@ -3626,23 +3168,13 @@ interactions: message: OK - request: body: '{"location": "eastus", "tags": {"tag1": "A", "tag2": "B", "tag3": "C"}, - "properties": {"dataSources": {"performanceCounters": [{"streams": ["Microsoft-Perf"], - "samplingFrequencyInSeconds": 15, "counterSpecifiers": ["\\Processor(_Total)\\% - Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes", - "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length"], "name": "cloudTeamCoreCounters"}, - {"streams": ["Microsoft-Perf"], "samplingFrequencyInSeconds": 30, "counterSpecifiers": - ["\\Process(_Total)\\Thread Count"], "name": "appTeamExtraCounters"}], "windowsEventLogs": - [{"streams": ["Microsoft-WindowsEvent"], "xPathQueries": ["Security!"], "name": - "cloudSecurityTeamEvents"}, {"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": "appTeam1AppEvents"}], "syslog": - [{"streams": ["Microsoft-Syslog"], "facilityNames": ["syslog"], "logLevels": - ["Alert", "Critical", "Emergency"], "name": "syslogBase"}]}, "destinations": - {"logAnalytics": [{"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002", - "name": "clitest000002"}, {"workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003", - "name": "clitest000003"}]}, "dataFlows": [{"streams": ["Microsoft-Perf", "Microsoft-Syslog", - "Microsoft-WindowsEvent"], "destinations": ["clitest000002"]}, {"streams": ["Microsoft-Perf"], - "destinations": ["clitest000003"]}]}}' + "properties": {"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", + "name": "clitest000003"}], "azureMonitorMetrics": {"name": "azureMonitorMetrics-default"}}, + "dataFlows": [{"streams": ["Microsoft-InsightsMetrics"], "destinations": ["azureMonitorMetrics-default"]}, + {"streams": ["Microsoft-Perf"], "destinations": ["clitest000003"]}]}}' headers: Accept: - application/json @@ -3653,34 +3185,30 @@ interactions: Connection: - keep-alive Content-Length: - - '1853' + - '821' Content-Type: - application/json ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]},{"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":"\"24035685-0000-0100-0000-60af289a0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:29.7720549Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030067f5-0000-0100-0000-625fe8630000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:55.9841458Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2537' + - '1438' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:30 GMT + - Wed, 20 Apr 2022 11:03:00 GMT expires: - '-1' pragma: @@ -3698,7 +3226,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '58' + - '145' status: code: 200 message: OK @@ -3716,28 +3244,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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-2ca3bc8e5ae947f2abc7321f84473831","dataSources":{"performanceCounters":[{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":15,"counterSpecifiers":["\\Processor(_Total)\\% - Processor Time","\\Memory\\Committed Bytes","\\LogicalDisk(_Total)\\Free Megabytes","\\PhysicalDisk(_Total)\\Avg. - Disk Queue Length"],"name":"cloudTeamCoreCounters"},{"streams":["Microsoft-Perf"],"samplingFrequencyInSeconds":30,"counterSpecifiers":["\\Process(_Total)\\Thread - Count"],"name":"appTeamExtraCounters"}],"windowsEventLogs":[{"streams":["Microsoft-WindowsEvent"],"xPathQueries":["Security!"],"name":"cloudSecurityTeamEvents"},{"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":"appTeam1AppEvents"}],"syslog":[{"streams":["Microsoft-Syslog"],"facilityNames":["syslog"],"logLevels":["Alert","Critical","Emergency"],"name":"syslogBase"}]},"destinations":{"logAnalytics":[{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002","workspaceId":"e1f3c979-79c2-4132-95eb-ef451a1d189b","name":"clitest000002"},{"workspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003","workspaceId":"54976f20-00d4-4abf-a6b6-fcf82ee13639","name":"clitest000003"}]},"dataFlows":[{"streams":["Microsoft-Perf","Microsoft-Syslog","Microsoft-WindowsEvent"],"destinations":["clitest000002"]},{"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":"\"24035685-0000-0100-0000-60af289a0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:04:21.728359Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:29.7720549Z"}}' + string: '{"properties":{"immutableId":"dcr-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030067f5-0000-0100-0000-625fe8630000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:55.9841458Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '2537' + - '1438' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:32 GMT + - Wed, 20 Apr 2022 11:03:00 GMT expires: - '-1' pragma: @@ -3769,29 +3293,29 @@ interactions: Connection: - keep-alive Content-Length: - - '252' + - '190' Content-Type: - application/json ParameterSetName: - --name --rule-id --resource User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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":"\"1101db03-0000-0700-0000-60af289e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:05:33.46805Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:33.46805Z"}}' + 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '880' + - '772' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:34 GMT + - Wed, 20 Apr 2022 11:03:03 GMT expires: - '-1' pragma: @@ -3809,7 +3333,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '299' status: code: 200 message: OK @@ -3827,23 +3351,23 @@ interactions: ParameterSetName: - --name --resource User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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":"\"1101db03-0000-0700-0000-60af289e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:05:33.46805Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:33.46805Z"}}' + 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '880' + - '772' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:36 GMT + - Wed, 20 Apr 2022 11:03:05 GMT expires: - '-1' pragma: @@ -3877,23 +3401,23 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule/associations?api-version=2021-04-01 + 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: 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"}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '632' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:38 GMT + - Wed, 20 Apr 2022 11:03:06 GMT expires: - '-1' pragma: @@ -3927,23 +3451,23 @@ interactions: ParameterSetName: - --resource User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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":"\"1101db03-0000-0700-0000-60af289e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:05:33.46805Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:33.46805Z"}}],"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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '908' + - '800' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:39 GMT + - Wed, 20 Apr 2022 11:03:08 GMT expires: - '-1' pragma: @@ -3977,23 +3501,23 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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":"\"1101db03-0000-0700-0000-60af289e0000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:05:33.46805Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:33.46805Z"}}' + 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '880' + - '772' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:41 GMT + - Wed, 20 Apr 2022 11:03:09 GMT expires: - '-1' pragma: @@ -4026,29 +3550,29 @@ interactions: Connection: - keep-alive Content-Length: - - '290' + - '228' Content-Type: - application/json ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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":"\"1101df05-0000-0700-0000-60af28a60000\"","systemData":{"createdBy":"kairu@microsoft.com","createdByType":"User","createdAt":"2021-05-27T05:05:41.8700929Z","lastModifiedBy":"kairu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-27T05:05:41.8700929Z"}}' + 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":"\"c00259d6-0000-0700-0000-625fe86e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:10.6468068Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:10.6468068Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '920' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 05:05:42 GMT + - Wed, 20 Apr 2022 11:03:10 GMT expires: - '-1' pragma: @@ -4066,7 +3590,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '299' status: code: 200 message: OK @@ -4086,21 +3610,21 @@ interactions: ParameterSetName: - -y --name --resource User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-04-01 + 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: '' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - '0' date: - - Thu, 27 May 2021 05:05:44 GMT + - Wed, 20 Apr 2022 11:03:13 GMT expires: - '-1' pragma: @@ -4134,21 +3658,21 @@ interactions: ParameterSetName: - -y --name --resource-group User-Agent: - - AZURECLI/2.24.0 azsdk-python-mgmt-monitor/0.1.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-04-01 + 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: '' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - '0' date: - - Thu, 27 May 2021 05:05:50 GMT + - Wed, 20 Apr 2022 11:03:21 GMT expires: - '-1' pragma: @@ -4162,7 +3686,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 200 message: OK 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 new file mode 100644 index 00000000000..b403b1876f9 --- /dev/null +++ b/src/monitor-control-service/azext_amcs/tests/latest/rule_files/rule_file.json @@ -0,0 +1,34 @@ +{ + "properties": { + "dataSources": { + "performanceCounters": [ + { + "streams": [ + "Microsoft-InsightsMetrics" + ], + "scheduledTransferPeriod": "PT1M", + "samplingFrequencyInSeconds": 10, + "counterSpecifiers": [ + "\\Processor Information(_Total)\\% Processor Time" + ], + "name": "perfCounter01" + } + ] + }, + "destinations": { + "azureMonitorMetrics": { + "name": "azureMonitorMetrics-default" + } + }, + "dataFlows": [ + { + "streams": [ + "Microsoft-InsightsMetrics" + ], + "destinations": [ + "azureMonitorMetrics-default" + ] + } + ] + } +} \ No newline at end of file diff --git a/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py b/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py index 07532a37ed4..26c36192b11 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py +++ b/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py @@ -94,26 +94,7 @@ def step_data_collection_rule_create(test, rg, checks=None): if checks is None: checks = [] rule_json = test.cmd('az monitor data-collection rule create ' - '-g {rg} -n {myDataCollectionRule} --location "{location}" ' - '--data-flows destinations="{workspace_name}" streams="Microsoft-Perf" ' - 'streams="Microsoft-Syslog" streams="Microsoft-WindowsEvent" ' - '--log-analytics name="{workspace_name}" resource-id="{workspace_id}" ' - '--performance-counters name="cloudTeamCoreCounters" counter-specifiers="\\\\Processor(_Total' - ')\\\\% Processor Time" counter-specifiers="\\\\Memory\\\\Committed Bytes" ' - 'counter-specifiers="\\\\LogicalDisk(_Total)\\\\Free Megabytes" ' - 'counter-specifiers="\\\\PhysicalDisk(_Total)\\\\Avg. Disk Queue Length" ' - 'sampling-frequency=15 streams="Microsoft-Perf" ' - '--performance-counters name="appTeamExtraCounters" ' - 'counter-specifiers="\\\\Process(_Total)\\\\Thread Count" sampling-frequency=30 ' - 'streams="Microsoft-Perf" ' - '--syslog name="syslogBase" facility-names="syslog" log-levels="Alert" log-levels="Critical" ' - 'log-levels="Emergency" streams="Microsoft-Syslog" ' - '--windows-event-logs name="cloudSecurityTeamEvents" ' - 'streams="Microsoft-WindowsEvent" x-path-queries="Security!" ' - '--windows-event-logs name="appTeam1AppEvents" ' - 'streams="Microsoft-WindowsEvent" ' - 'x-path-queries="System![System[(Level = 1 or Level = 2 or Level = 3)]]" ' - 'x-path-queries="Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" ', + '-g {rg} -n {myDataCollectionRule} --location "{location}" --rule-file "{ruleFile}"', checks=checks).get_output_in_json() test.kwargs['rule_id'] = rule_json['id'] @@ -451,7 +432,7 @@ def call_scenario(test, rg): step_data_collection_rule_log_analytics_add(test, rg, checks=[]) step_data_collection_rule_log_analytics_list(test, rg, checks=[ - test.check('length(@)', 2), + test.check('length(@)', 1), ]) step_data_collection_rule_log_analytics_show(test, rg, checks=[]) step_data_collection_rule_log_analytics_update(test, rg, checks=[]) @@ -459,7 +440,7 @@ def call_scenario(test, rg): step_data_collection_rule_performance_counter_add(test, rg, checks=[]) step_data_collection_rule_performance_counter_list(test, rg, checks=[ - test.check('length(@)', 3), + test.check('length(@)', 2), ]) step_data_collection_rule_performance_counter_show(test, rg, checks=[]) step_data_collection_rule_performance_counter_update(test, rg, checks=[]) @@ -467,7 +448,7 @@ def call_scenario(test, rg): step_data_collection_rule_windows_event_log_add(test, rg, checks=[]) step_data_collection_rule_windows_event_log_list(test, rg, checks=[ - test.check('length(@)', 3), + test.check('length(@)', 1), ]) step_data_collection_rule_windows_event_log_show(test, rg, checks=[]) step_data_collection_rule_windows_event_log_update(test, rg, checks=[]) @@ -475,7 +456,7 @@ def call_scenario(test, rg): step_data_collection_rule_syslog_add(test, rg, checks=[]) step_data_collection_rule_syslog_list(test, rg, checks=[ - test.check('length(@)', 2), + test.check('length(@)', 1), ]) step_data_collection_rule_syslog_show(test, rg, checks=[]) step_data_collection_rule_syslog_update(test, rg, checks=[]) @@ -517,10 +498,18 @@ def test_monitor_control_service_Scenario(self, rg): self.kwargs.update({ 'subscription_id': self.get_subscription_id() }) - + import os + + TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + templateFile = os.path.join( + TEST_DIR, + "rule_files", + "rule_file.json", + ) self.kwargs.update({ 'myDataCollectionRule': 'myCollectionRule', - 'myAssociation': 'myAssociation' + 'myAssociation': 'myAssociation', + 'ruleFile': templateFile }) call_scenario(self, rg) @@ -558,3 +547,46 @@ def test_amcs_data_collection_endpoint(self, resource_group): self.cmd('monitor data-collection endpoint list -g {rg}', checks=[ self.check('length(@)', 1) ]) + + @ResourceGroupPreparer(name_prefix='clitest_amcs_rule', location='westus2') + def test_amcs_data_collection_rule(self, resource_group): + import os + + TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + templateFile = os.path.join( + TEST_DIR, + "rule_files", + "rule_file.json", + ) + + self.kwargs.update({ + 'rg': resource_group, + 'name': 'testrule', + 'location': 'westus2', + 'rule_file': templateFile + }) + + self.cmd('monitor data-collection rule create --resource-group {rg} --location {location} ' + '--name {name} --rule-file "{rule_file}"', + checks=[self.check('provisioningState', 'Succeeded')]) + + self.cmd('monitor data-collection rule update --resource-group {rg} --name {name} ' + '--performance-counters name="perfCounter02" ' + 'counter-specifiers=["\\Processor Information(_Total)\\% Processor Time"] ' + 'sampling-frequency=20 transfer-period="PT1M" streams="Microsoft-InsightsMetrics"', + checks=[self.check('provisioningState', 'Succeeded')]) + + self.cmd('monitor data-collection rule show -g {rg} -n {name}', checks=[ + self.check('name', '{name}'), + self.check('provisioningState', 'Succeeded') + ]) + + self.cmd('monitor data-collection rule list -g {rg}', checks=[ + self.check('length(@)', 1) + ]) + + self.cmd('monitor data-collection rule delete -g {rg} -n {name} -y') + self.cmd('monitor data-collection rule list -g {rg}', checks=[ + self.check('length(@)', 0) + ]) + diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_configuration.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_configuration.py index c0ee9f1b265..6e0a96766af 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_configuration.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-01" + self.api_version = "2021-09-01-preview" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-monitor/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_monitor_client.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_monitor_client.py index 71e40774c68..4becb10ff1f 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_monitor_client.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_monitor_client.py @@ -28,11 +28,11 @@ class MonitorClient(object): """Monitor Management Client. :ivar data_collection_endpoints: DataCollectionEndpointsOperations operations - :vartype data_collection_endpoints: azure.mgmt.amcs.operations.DataCollectionEndpointsOperations + :vartype data_collection_endpoints: $(python-base-namespace).v2021_09_01_preview.operations.DataCollectionEndpointsOperations :ivar data_collection_rule_associations: DataCollectionRuleAssociationsOperations operations - :vartype data_collection_rule_associations: azure.mgmt.amcs.operations.DataCollectionRuleAssociationsOperations + :vartype data_collection_rule_associations: $(python-base-namespace).v2021_09_01_preview.operations.DataCollectionRuleAssociationsOperations :ivar data_collection_rules: DataCollectionRulesOperations operations - :vartype data_collection_rules: azure.mgmt.amcs.operations.DataCollectionRulesOperations + :vartype data_collection_rules: $(python-base-namespace).v2021_09_01_preview.operations.DataCollectionRulesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_version.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_version.py index eae7c95b6fb..e5754a47ce6 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_version.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.0" +VERSION = "1.0.0b1" diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_configuration.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_configuration.py index a8be4b95105..c56e575b90b 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_configuration.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_configuration.py @@ -45,7 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-01" + self.api_version = "2021-09-01-preview" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-monitor/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_monitor_client.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_monitor_client.py index acdee347a4f..e72e4a5649a 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_monitor_client.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/_monitor_client.py @@ -26,11 +26,11 @@ class MonitorClient(object): """Monitor Management Client. :ivar data_collection_endpoints: DataCollectionEndpointsOperations operations - :vartype data_collection_endpoints: azure.mgmt.amcs.aio.operations.DataCollectionEndpointsOperations + :vartype data_collection_endpoints: $(python-base-namespace).v2021_09_01_preview.aio.operations.DataCollectionEndpointsOperations :ivar data_collection_rule_associations: DataCollectionRuleAssociationsOperations operations - :vartype data_collection_rule_associations: azure.mgmt.amcs.aio.operations.DataCollectionRuleAssociationsOperations + :vartype data_collection_rule_associations: $(python-base-namespace).v2021_09_01_preview.aio.operations.DataCollectionRuleAssociationsOperations :ivar data_collection_rules: DataCollectionRulesOperations operations - :vartype data_collection_rules: azure.mgmt.amcs.aio.operations.DataCollectionRulesOperations + :vartype data_collection_rules: $(python-base-namespace).v2021_09_01_preview.aio.operations.DataCollectionRulesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_endpoints_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_endpoints_operations.py index 0a708d5565c..c6e05cb0ecb 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_endpoints_operations.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_endpoints_operations.py @@ -26,7 +26,7 @@ class DataCollectionEndpointsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.amcs.models + :type models: ~$(python-base-namespace).v2021_09_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionEndpointResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.amcs.models.DataCollectionEndpointResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResourceListResult"] @@ -62,7 +62,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -75,7 +75,7 @@ def prepare_request(next_link=None): url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -103,7 +103,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -124,7 +124,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionEndpointResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.amcs.models.DataCollectionEndpointResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResourceListResult"] @@ -132,7 +132,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -172,7 +172,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -200,7 +200,7 @@ async def get( :type data_collection_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionEndpointResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResource"] @@ -208,14 +208,14 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -234,7 +234,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionEndpointResource', pipeline_response) @@ -262,10 +262,10 @@ async def create( case insensitive. :type data_collection_endpoint_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionEndpointResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResource"] @@ -273,7 +273,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -281,7 +281,7 @@ async def create( url = self.create.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -307,7 +307,7 @@ async def create( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -339,10 +339,10 @@ async def update( case insensitive. :type data_collection_endpoint_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.ResourceForUpdate + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.ResourceForUpdate :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionEndpointResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResource"] @@ -350,7 +350,7 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -358,7 +358,7 @@ async def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -384,7 +384,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionEndpointResource', pipeline_response) @@ -420,14 +420,14 @@ async def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -446,7 +446,7 @@ async def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rule_associations_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rule_associations_operations.py index 3dc0eaeeada..cf7e454c9bd 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rule_associations_operations.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rule_associations_operations.py @@ -26,7 +26,7 @@ class DataCollectionRuleAssociationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.amcs.models + :type models: ~$(python-base-namespace).v2021_09_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list_by_resource( :type resource_uri: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] @@ -62,7 +62,7 @@ def list_by_resource( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -102,7 +102,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -130,7 +130,7 @@ def list_by_rule( :type data_collection_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] @@ -138,7 +138,7 @@ def list_by_rule( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -151,7 +151,7 @@ def prepare_request(next_link=None): url = self.list_by_rule.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -180,7 +180,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -191,6 +191,84 @@ async def get_next(next_link=None): ) list_by_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations'} # type: ignore + def list_by_data_collection_endpoint( + self, + resource_group_name: str, + data_collection_endpoint_name: str, + **kwargs + ) -> AsyncIterable["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"]: + """Lists associations for the specified data collection endpoint. + + Lists associations for the specified data collection endpoint. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param data_collection_endpoint_name: The name of the data collection endpoint. The name is + case insensitive. + :type data_collection_endpoint_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_collection_endpoint.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResourceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponseCommonV2, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_collection_endpoint.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/associations'} # type: ignore + async def get( self, resource_uri: str, @@ -207,7 +285,7 @@ async def get( :type association_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleAssociationProxyOnlyResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResource"] @@ -215,7 +293,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL @@ -240,7 +318,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResource', pipeline_response) @@ -267,10 +345,10 @@ async def create( :param association_name: The name of the association. The name is case insensitive. :type association_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleAssociationProxyOnlyResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResource"] @@ -278,7 +356,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -311,7 +389,7 @@ async def create( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -350,7 +428,7 @@ async def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL @@ -375,7 +453,7 @@ async def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rules_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rules_operations.py index e7f9820120f..3f2b32e6006 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rules_operations.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/aio/operations/_data_collection_rules_operations.py @@ -26,7 +26,7 @@ class DataCollectionRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.amcs.models + :type models: ~$(python-base-namespace).v2021_09_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResourceListResult"] @@ -62,7 +62,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -75,7 +75,7 @@ def prepare_request(next_link=None): url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -103,7 +103,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -124,7 +124,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResourceListResult"] @@ -132,7 +132,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -172,7 +172,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -200,7 +200,7 @@ async def get( :type data_collection_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] @@ -208,14 +208,14 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -234,7 +234,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) @@ -262,10 +262,10 @@ async def create( insensitive. :type data_collection_rule_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] @@ -273,7 +273,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -281,7 +281,7 @@ async def create( url = self.create.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -307,7 +307,7 @@ async def create( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -339,10 +339,10 @@ async def update( insensitive. :type data_collection_rule_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.ResourceForUpdate + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.ResourceForUpdate :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] @@ -350,7 +350,7 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -358,7 +358,7 @@ async def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -384,7 +384,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) @@ -420,14 +420,14 @@ async def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -446,7 +446,7 @@ async def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/__init__.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/__init__.py index 9e21704b867..a1fffdad613 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/__init__.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/__init__.py @@ -8,6 +8,7 @@ try: from ._models_py3 import AzureMonitorMetricsDestination + from ._models_py3 import ColumnDefinition from ._models_py3 import ConfigurationAccessEndpointSpec from ._models_py3 import DataCollectionEndpoint from ._models_py3 import DataCollectionEndpointConfigurationAccess @@ -19,12 +20,14 @@ from ._models_py3 import DataCollectionEndpointResourceSystemData from ._models_py3 import DataCollectionRule from ._models_py3 import DataCollectionRuleAssociation + from ._models_py3 import DataCollectionRuleAssociationMetadata from ._models_py3 import DataCollectionRuleAssociationProxyOnlyResource from ._models_py3 import DataCollectionRuleAssociationProxyOnlyResourceListResult from ._models_py3 import DataCollectionRuleAssociationProxyOnlyResourceProperties from ._models_py3 import DataCollectionRuleAssociationProxyOnlyResourceSystemData from ._models_py3 import DataCollectionRuleDataSources from ._models_py3 import DataCollectionRuleDestinations + from ._models_py3 import DataCollectionRuleMetadata from ._models_py3 import DataCollectionRuleResource from ._models_py3 import DataCollectionRuleResourceListResult from ._models_py3 import DataCollectionRuleResourceProperties @@ -35,18 +38,27 @@ from ._models_py3 import DestinationsSpecAzureMonitorMetrics from ._models_py3 import ErrorAdditionalInfo from ._models_py3 import ErrorDetail - from ._models_py3 import ErrorResponse + from ._models_py3 import ErrorResponseCommonV2 from ._models_py3 import ExtensionDataSource + from ._models_py3 import IisLogsDataSource from ._models_py3 import LogAnalyticsDestination + from ._models_py3 import LogFileSettings + from ._models_py3 import LogFileSettingsText + from ._models_py3 import LogFileTextSettings + from ._models_py3 import LogFilesDataSource + from ._models_py3 import LogFilesDataSourceSettings from ._models_py3 import LogsIngestionEndpointSpec + from ._models_py3 import Metadata from ._models_py3 import NetworkRuleSet from ._models_py3 import PerfCounterDataSource from ._models_py3 import ResourceForUpdate + from ._models_py3 import StreamDeclaration from ._models_py3 import SyslogDataSource from ._models_py3 import SystemData from ._models_py3 import WindowsEventLogDataSource except (SyntaxError, ImportError): from ._models import AzureMonitorMetricsDestination # type: ignore + from ._models import ColumnDefinition # type: ignore from ._models import ConfigurationAccessEndpointSpec # type: ignore from ._models import DataCollectionEndpoint # type: ignore from ._models import DataCollectionEndpointConfigurationAccess # type: ignore @@ -58,12 +70,14 @@ from ._models import DataCollectionEndpointResourceSystemData # type: ignore from ._models import DataCollectionRule # type: ignore from ._models import DataCollectionRuleAssociation # type: ignore + from ._models import DataCollectionRuleAssociationMetadata # type: ignore from ._models import DataCollectionRuleAssociationProxyOnlyResource # type: ignore from ._models import DataCollectionRuleAssociationProxyOnlyResourceListResult # type: ignore from ._models import DataCollectionRuleAssociationProxyOnlyResourceProperties # type: ignore from ._models import DataCollectionRuleAssociationProxyOnlyResourceSystemData # type: ignore from ._models import DataCollectionRuleDataSources # type: ignore from ._models import DataCollectionRuleDestinations # type: ignore + from ._models import DataCollectionRuleMetadata # type: ignore from ._models import DataCollectionRuleResource # type: ignore from ._models import DataCollectionRuleResourceListResult # type: ignore from ._models import DataCollectionRuleResourceProperties # type: ignore @@ -74,19 +88,28 @@ from ._models import DestinationsSpecAzureMonitorMetrics # type: ignore from ._models import ErrorAdditionalInfo # type: ignore from ._models import ErrorDetail # type: ignore - from ._models import ErrorResponse # type: ignore + from ._models import ErrorResponseCommonV2 # type: ignore from ._models import ExtensionDataSource # type: ignore + from ._models import IisLogsDataSource # type: ignore from ._models import LogAnalyticsDestination # type: ignore + from ._models import LogFileSettings # type: ignore + from ._models import LogFileSettingsText # type: ignore + from ._models import LogFileTextSettings # type: ignore + from ._models import LogFilesDataSource # type: ignore + from ._models import LogFilesDataSourceSettings # type: ignore from ._models import LogsIngestionEndpointSpec # type: ignore + from ._models import Metadata # type: ignore from ._models import NetworkRuleSet # type: ignore from ._models import PerfCounterDataSource # type: ignore from ._models import ResourceForUpdate # type: ignore + from ._models import StreamDeclaration # type: ignore from ._models import SyslogDataSource # type: ignore from ._models import SystemData # type: ignore from ._models import WindowsEventLogDataSource # type: ignore from ._monitor_client_enums import ( CreatedByType, + KnownColumnDefinitionType, KnownDataCollectionEndpointProvisioningState, KnownDataCollectionEndpointResourceKind, KnownDataCollectionRuleAssociationProvisioningState, @@ -94,6 +117,8 @@ KnownDataCollectionRuleResourceKind, KnownDataFlowStreams, KnownExtensionDataSourceStreams, + KnownLogFileTextSettingsRecordStartTimestampFormat, + KnownLogFilesDataSourceFormat, KnownPerfCounterDataSourceStreams, KnownPublicNetworkAccessOptions, KnownSyslogDataSourceFacilityNames, @@ -104,6 +129,7 @@ __all__ = [ 'AzureMonitorMetricsDestination', + 'ColumnDefinition', 'ConfigurationAccessEndpointSpec', 'DataCollectionEndpoint', 'DataCollectionEndpointConfigurationAccess', @@ -115,12 +141,14 @@ 'DataCollectionEndpointResourceSystemData', 'DataCollectionRule', 'DataCollectionRuleAssociation', + 'DataCollectionRuleAssociationMetadata', 'DataCollectionRuleAssociationProxyOnlyResource', 'DataCollectionRuleAssociationProxyOnlyResourceListResult', 'DataCollectionRuleAssociationProxyOnlyResourceProperties', 'DataCollectionRuleAssociationProxyOnlyResourceSystemData', 'DataCollectionRuleDataSources', 'DataCollectionRuleDestinations', + 'DataCollectionRuleMetadata', 'DataCollectionRuleResource', 'DataCollectionRuleResourceListResult', 'DataCollectionRuleResourceProperties', @@ -131,17 +159,26 @@ 'DestinationsSpecAzureMonitorMetrics', 'ErrorAdditionalInfo', 'ErrorDetail', - 'ErrorResponse', + 'ErrorResponseCommonV2', 'ExtensionDataSource', + 'IisLogsDataSource', 'LogAnalyticsDestination', + 'LogFileSettings', + 'LogFileSettingsText', + 'LogFileTextSettings', + 'LogFilesDataSource', + 'LogFilesDataSourceSettings', 'LogsIngestionEndpointSpec', + 'Metadata', 'NetworkRuleSet', 'PerfCounterDataSource', 'ResourceForUpdate', + 'StreamDeclaration', 'SyslogDataSource', 'SystemData', 'WindowsEventLogDataSource', 'CreatedByType', + 'KnownColumnDefinitionType', 'KnownDataCollectionEndpointProvisioningState', 'KnownDataCollectionEndpointResourceKind', 'KnownDataCollectionRuleAssociationProvisioningState', @@ -149,6 +186,8 @@ 'KnownDataCollectionRuleResourceKind', 'KnownDataFlowStreams', 'KnownExtensionDataSourceStreams', + 'KnownLogFileTextSettingsRecordStartTimestampFormat', + 'KnownLogFilesDataSourceFormat', 'KnownPerfCounterDataSourceStreams', 'KnownPublicNetworkAccessOptions', 'KnownSyslogDataSourceFacilityNames', diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models.py index 67d16f1882d..48c949ae8a0 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models.py @@ -31,6 +31,31 @@ def __init__( self.name = kwargs.get('name', None) +class ColumnDefinition(msrest.serialization.Model): + """Definition of custom data column. + + :param name: The name of the column. + :type name: str + :param type: The type of the column data. Possible values include: "string", "int", "long", + "real", "boolean", "datetime", "dynamic". + :type type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownColumnDefinitionType + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ColumnDefinition, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) + + class ConfigurationAccessEndpointSpec(msrest.serialization.Model): """Definition of the endpoint used for accessing configuration. @@ -66,16 +91,18 @@ class DataCollectionEndpoint(msrest.serialization.Model): :param immutable_id: The immutable ID of this data collection endpoint resource. This property is READ-ONLY. :type immutable_id: str - :param configuration_access: The endpoint used by agents to access their configuration. - :type configuration_access: ~azure.mgmt.amcs.models.ConfigurationAccessEndpointSpec + :param configuration_access: The endpoint used by clients to access their configuration. + :type configuration_access: ~$(python-base- + namespace).v2021_09_01_preview.models.ConfigurationAccessEndpointSpec :param logs_ingestion: The endpoint used by clients to ingest logs. - :type logs_ingestion: ~azure.mgmt.amcs.models.LogsIngestionEndpointSpec + :type logs_ingestion: ~$(python-base- + namespace).v2021_09_01_preview.models.LogsIngestionEndpointSpec :param network_acls: Network access control rules for the endpoints. - :type network_acls: ~azure.mgmt.amcs.models.NetworkRuleSet + :type network_acls: ~$(python-base-namespace).v2021_09_01_preview.models.NetworkRuleSet :ivar provisioning_state: The resource provisioning state. This property is READ-ONLY. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionEndpointProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointProvisioningState """ _validation = { @@ -105,7 +132,7 @@ def __init__( class DataCollectionEndpointConfigurationAccess(ConfigurationAccessEndpointSpec): - """The endpoint used by agents to access their configuration. + """The endpoint used by clients to access their configuration. Variables are only populated by the server, and will be ignored when sending a request. @@ -182,7 +209,8 @@ class NetworkRuleSet(msrest.serialization.Model): :param public_network_access: The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.amcs.models.KnownPublicNetworkAccessOptions + :type public_network_access: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownPublicNetworkAccessOptions """ _attribute_map = { @@ -202,7 +230,8 @@ class DataCollectionEndpointNetworkAcls(NetworkRuleSet): :param public_network_access: The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.amcs.models.KnownPublicNetworkAccessOptions + :type public_network_access: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownPublicNetworkAccessOptions """ _attribute_map = { @@ -228,7 +257,8 @@ class DataCollectionEndpointResource(msrest.serialization.Model): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param kind: The kind of the resource. Possible values include: "Linux", "Windows". - :type kind: str or ~azure.mgmt.amcs.models.KnownDataCollectionEndpointResourceKind + :type kind: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointResourceKind :ivar id: Fully qualified ID of the resource. :vartype id: str :ivar name: The name of the resource. @@ -238,22 +268,24 @@ class DataCollectionEndpointResource(msrest.serialization.Model): :ivar etag: Resource entity tag (ETag). :vartype etag: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.amcs.models.SystemData + :vartype system_data: ~$(python-base-namespace).v2021_09_01_preview.models.SystemData :param description: Description of the data collection endpoint. :type description: str :param immutable_id: The immutable ID of this data collection endpoint resource. This property is READ-ONLY. :type immutable_id: str - :param configuration_access: The endpoint used by agents to access their configuration. - :type configuration_access: ~azure.mgmt.amcs.models.ConfigurationAccessEndpointSpec + :param configuration_access: The endpoint used by clients to access their configuration. + :type configuration_access: ~$(python-base- + namespace).v2021_09_01_preview.models.ConfigurationAccessEndpointSpec :param logs_ingestion: The endpoint used by clients to ingest logs. - :type logs_ingestion: ~azure.mgmt.amcs.models.LogsIngestionEndpointSpec + :type logs_ingestion: ~$(python-base- + namespace).v2021_09_01_preview.models.LogsIngestionEndpointSpec :param network_acls: Network access control rules for the endpoints. - :type network_acls: ~azure.mgmt.amcs.models.NetworkRuleSet + :type network_acls: ~$(python-base-namespace).v2021_09_01_preview.models.NetworkRuleSet :ivar provisioning_state: The resource provisioning state. This property is READ-ONLY. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionEndpointProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointProvisioningState """ _validation = { @@ -310,7 +342,8 @@ class DataCollectionEndpointResourceListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. A list of resources. - :type value: list[~azure.mgmt.amcs.models.DataCollectionEndpointResource] + :type value: list[~$(python-base- + namespace).v2021_09_01_preview.models.DataCollectionEndpointResource] :param next_link: The URL to use for getting the next set of results. :type next_link: str """ @@ -343,16 +376,18 @@ class DataCollectionEndpointResourceProperties(DataCollectionEndpoint): :param immutable_id: The immutable ID of this data collection endpoint resource. This property is READ-ONLY. :type immutable_id: str - :param configuration_access: The endpoint used by agents to access their configuration. - :type configuration_access: ~azure.mgmt.amcs.models.ConfigurationAccessEndpointSpec + :param configuration_access: The endpoint used by clients to access their configuration. + :type configuration_access: ~$(python-base- + namespace).v2021_09_01_preview.models.ConfigurationAccessEndpointSpec :param logs_ingestion: The endpoint used by clients to ingest logs. - :type logs_ingestion: ~azure.mgmt.amcs.models.LogsIngestionEndpointSpec + :type logs_ingestion: ~$(python-base- + namespace).v2021_09_01_preview.models.LogsIngestionEndpointSpec :param network_acls: Network access control rules for the endpoints. - :type network_acls: ~azure.mgmt.amcs.models.NetworkRuleSet + :type network_acls: ~$(python-base-namespace).v2021_09_01_preview.models.NetworkRuleSet :ivar provisioning_state: The resource provisioning state. This property is READ-ONLY. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionEndpointProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointProvisioningState """ _validation = { @@ -382,14 +417,16 @@ class SystemData(msrest.serialization.Model): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -423,14 +460,16 @@ class DataCollectionEndpointResourceSystemData(SystemData): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -460,28 +499,40 @@ class DataCollectionRule(msrest.serialization.Model): :type description: str :ivar immutable_id: The immutable ID of this data collection rule. This property is READ-ONLY. :vartype immutable_id: str + :param data_collection_endpoint_id: The resource ID of the data collection endpoint that this + rule can be used with. + :type data_collection_endpoint_id: str + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata + :param stream_declarations: Declaration of custom streams used in this rule. + :type stream_declarations: dict[str, ~$(python-base- + namespace).v2021_09_01_preview.models.StreamDeclaration] :param data_sources: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. - :type data_sources: ~azure.mgmt.amcs.models.DataSourcesSpec + :type data_sources: ~$(python-base-namespace).v2021_09_01_preview.models.DataSourcesSpec :param destinations: The specification of destinations. - :type destinations: ~azure.mgmt.amcs.models.DestinationsSpec + :type destinations: ~$(python-base-namespace).v2021_09_01_preview.models.DestinationsSpec :param data_flows: The specification of data flows. - :type data_flows: list[~azure.mgmt.amcs.models.DataFlow] + :type data_flows: list[~$(python-base-namespace).v2021_09_01_preview.models.DataFlow] :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleProvisioningState """ _validation = { 'immutable_id': {'readonly': True}, + 'metadata': {'readonly': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'description': {'key': 'description', 'type': 'str'}, 'immutable_id': {'key': 'immutableId', 'type': 'str'}, + 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, + 'stream_declarations': {'key': 'streamDeclarations', 'type': '{StreamDeclaration}'}, 'data_sources': {'key': 'dataSources', 'type': 'DataSourcesSpec'}, 'destinations': {'key': 'destinations', 'type': 'DestinationsSpec'}, 'data_flows': {'key': 'dataFlows', 'type': '[DataFlow]'}, @@ -495,6 +546,9 @@ def __init__( super(DataCollectionRule, self).__init__(**kwargs) self.description = kwargs.get('description', None) self.immutable_id = None + self.data_collection_endpoint_id = kwargs.get('data_collection_endpoint_id', None) + self.metadata = None + self.stream_declarations = kwargs.get('stream_declarations', None) self.data_sources = kwargs.get('data_sources', None) self.destinations = kwargs.get('destinations', None) self.data_flows = kwargs.get('data_flows', None) @@ -516,12 +570,15 @@ class DataCollectionRuleAssociation(msrest.serialization.Model): :type data_collection_endpoint_id: str :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleAssociationProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleAssociationProvisioningState + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata """ _validation = { 'provisioning_state': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -529,6 +586,7 @@ class DataCollectionRuleAssociation(msrest.serialization.Model): 'data_collection_rule_id': {'key': 'dataCollectionRuleId', 'type': 'str'}, 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, } def __init__( @@ -540,6 +598,56 @@ def __init__( self.data_collection_rule_id = kwargs.get('data_collection_rule_id', None) self.data_collection_endpoint_id = kwargs.get('data_collection_endpoint_id', None) self.provisioning_state = None + self.metadata = None + + +class Metadata(msrest.serialization.Model): + """Metadata about the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provisioned_by: Azure offering managing this resource on-behalf-of customer. + :vartype provisioned_by: str + """ + + _validation = { + 'provisioned_by': {'readonly': True}, + } + + _attribute_map = { + 'provisioned_by': {'key': 'provisionedBy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Metadata, self).__init__(**kwargs) + self.provisioned_by = None + + +class DataCollectionRuleAssociationMetadata(Metadata): + """Metadata about the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provisioned_by: Azure offering managing this resource on-behalf-of customer. + :vartype provisioned_by: str + """ + + _validation = { + 'provisioned_by': {'readonly': True}, + } + + _attribute_map = { + 'provisioned_by': {'key': 'provisionedBy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataCollectionRuleAssociationMetadata, self).__init__(**kwargs) class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model): @@ -556,7 +664,7 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) :ivar etag: Resource entity tag (ETag). :vartype etag: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.amcs.models.SystemData + :vartype system_data: ~$(python-base-namespace).v2021_09_01_preview.models.SystemData :param description: Description of the association. :type description: str :param data_collection_rule_id: The resource ID of the data collection rule that is to be @@ -567,8 +675,10 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) :type data_collection_endpoint_id: str :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleAssociationProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleAssociationProvisioningState + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata """ _validation = { @@ -578,6 +688,7 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) 'etag': {'readonly': True}, 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -590,6 +701,7 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) 'data_collection_rule_id': {'key': 'properties.dataCollectionRuleId', 'type': 'str'}, 'data_collection_endpoint_id': {'key': 'properties.dataCollectionEndpointId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': 'Metadata'}, } def __init__( @@ -606,6 +718,7 @@ def __init__( self.data_collection_rule_id = kwargs.get('data_collection_rule_id', None) self.data_collection_endpoint_id = kwargs.get('data_collection_endpoint_id', None) self.provisioning_state = None + self.metadata = None class DataCollectionRuleAssociationProxyOnlyResourceListResult(msrest.serialization.Model): @@ -614,7 +727,8 @@ class DataCollectionRuleAssociationProxyOnlyResourceListResult(msrest.serializat All required parameters must be populated in order to send to Azure. :param value: Required. A list of resources. - :type value: list[~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource] + :type value: list[~$(python-base- + namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource] :param next_link: The URL to use for getting the next set of results. :type next_link: str """ @@ -652,12 +766,15 @@ class DataCollectionRuleAssociationProxyOnlyResourceProperties(DataCollectionRul :type data_collection_endpoint_id: str :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleAssociationProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleAssociationProvisioningState + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata """ _validation = { 'provisioning_state': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -665,6 +782,7 @@ class DataCollectionRuleAssociationProxyOnlyResourceProperties(DataCollectionRul 'data_collection_rule_id': {'key': 'dataCollectionRuleId', 'type': 'str'}, 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, } def __init__( @@ -681,14 +799,16 @@ class DataCollectionRuleAssociationProxyOnlyResourceSystemData(SystemData): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -713,13 +833,20 @@ class DataSourcesSpec(msrest.serialization.Model): """Specification of data sources that will be collected. :param performance_counters: The list of performance counter data source configurations. - :type performance_counters: list[~azure.mgmt.amcs.models.PerfCounterDataSource] + :type performance_counters: list[~$(python-base- + namespace).v2021_09_01_preview.models.PerfCounterDataSource] :param windows_event_logs: The list of Windows Event Log data source configurations. - :type windows_event_logs: list[~azure.mgmt.amcs.models.WindowsEventLogDataSource] + :type windows_event_logs: list[~$(python-base- + namespace).v2021_09_01_preview.models.WindowsEventLogDataSource] :param syslog: The list of Syslog data source configurations. - :type syslog: list[~azure.mgmt.amcs.models.SyslogDataSource] + :type syslog: list[~$(python-base-namespace).v2021_09_01_preview.models.SyslogDataSource] :param extensions: The list of Azure VM extension data source configurations. - :type extensions: list[~azure.mgmt.amcs.models.ExtensionDataSource] + :type extensions: list[~$(python-base- + namespace).v2021_09_01_preview.models.ExtensionDataSource] + :param log_files: The list of Log files source configurations. + :type log_files: list[~$(python-base-namespace).v2021_09_01_preview.models.LogFilesDataSource] + :param iis_logs: The list of IIS logs source configurations. + :type iis_logs: list[~$(python-base-namespace).v2021_09_01_preview.models.IisLogsDataSource] """ _attribute_map = { @@ -727,6 +854,8 @@ class DataSourcesSpec(msrest.serialization.Model): 'windows_event_logs': {'key': 'windowsEventLogs', 'type': '[WindowsEventLogDataSource]'}, 'syslog': {'key': 'syslog', 'type': '[SyslogDataSource]'}, 'extensions': {'key': 'extensions', 'type': '[ExtensionDataSource]'}, + 'log_files': {'key': 'logFiles', 'type': '[LogFilesDataSource]'}, + 'iis_logs': {'key': 'iisLogs', 'type': '[IisLogsDataSource]'}, } def __init__( @@ -738,6 +867,8 @@ def __init__( self.windows_event_logs = kwargs.get('windows_event_logs', None) self.syslog = kwargs.get('syslog', None) self.extensions = kwargs.get('extensions', None) + self.log_files = kwargs.get('log_files', None) + self.iis_logs = kwargs.get('iis_logs', None) class DataCollectionRuleDataSources(DataSourcesSpec): @@ -745,13 +876,20 @@ class DataCollectionRuleDataSources(DataSourcesSpec): This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. :param performance_counters: The list of performance counter data source configurations. - :type performance_counters: list[~azure.mgmt.amcs.models.PerfCounterDataSource] + :type performance_counters: list[~$(python-base- + namespace).v2021_09_01_preview.models.PerfCounterDataSource] :param windows_event_logs: The list of Windows Event Log data source configurations. - :type windows_event_logs: list[~azure.mgmt.amcs.models.WindowsEventLogDataSource] + :type windows_event_logs: list[~$(python-base- + namespace).v2021_09_01_preview.models.WindowsEventLogDataSource] :param syslog: The list of Syslog data source configurations. - :type syslog: list[~azure.mgmt.amcs.models.SyslogDataSource] + :type syslog: list[~$(python-base-namespace).v2021_09_01_preview.models.SyslogDataSource] :param extensions: The list of Azure VM extension data source configurations. - :type extensions: list[~azure.mgmt.amcs.models.ExtensionDataSource] + :type extensions: list[~$(python-base- + namespace).v2021_09_01_preview.models.ExtensionDataSource] + :param log_files: The list of Log files source configurations. + :type log_files: list[~$(python-base-namespace).v2021_09_01_preview.models.LogFilesDataSource] + :param iis_logs: The list of IIS logs source configurations. + :type iis_logs: list[~$(python-base-namespace).v2021_09_01_preview.models.IisLogsDataSource] """ _attribute_map = { @@ -759,6 +897,8 @@ class DataCollectionRuleDataSources(DataSourcesSpec): 'windows_event_logs': {'key': 'windowsEventLogs', 'type': '[WindowsEventLogDataSource]'}, 'syslog': {'key': 'syslog', 'type': '[SyslogDataSource]'}, 'extensions': {'key': 'extensions', 'type': '[ExtensionDataSource]'}, + 'log_files': {'key': 'logFiles', 'type': '[LogFilesDataSource]'}, + 'iis_logs': {'key': 'iisLogs', 'type': '[IisLogsDataSource]'}, } def __init__( @@ -772,9 +912,11 @@ class DestinationsSpec(msrest.serialization.Model): """Specification of destinations that can be used in data flows. :param log_analytics: List of Log Analytics destinations. - :type log_analytics: list[~azure.mgmt.amcs.models.LogAnalyticsDestination] + :type log_analytics: list[~$(python-base- + namespace).v2021_09_01_preview.models.LogAnalyticsDestination] :param azure_monitor_metrics: Azure Monitor Metrics destination. - :type azure_monitor_metrics: ~azure.mgmt.amcs.models.AzureMonitorMetricsDestination + :type azure_monitor_metrics: ~$(python-base- + namespace).v2021_09_01_preview.models.AzureMonitorMetricsDestination """ _attribute_map = { @@ -795,9 +937,11 @@ class DataCollectionRuleDestinations(DestinationsSpec): """The specification of destinations. :param log_analytics: List of Log Analytics destinations. - :type log_analytics: list[~azure.mgmt.amcs.models.LogAnalyticsDestination] + :type log_analytics: list[~$(python-base- + namespace).v2021_09_01_preview.models.LogAnalyticsDestination] :param azure_monitor_metrics: Azure Monitor Metrics destination. - :type azure_monitor_metrics: ~azure.mgmt.amcs.models.AzureMonitorMetricsDestination + :type azure_monitor_metrics: ~$(python-base- + namespace).v2021_09_01_preview.models.AzureMonitorMetricsDestination """ _attribute_map = { @@ -812,6 +956,30 @@ def __init__( super(DataCollectionRuleDestinations, self).__init__(**kwargs) +class DataCollectionRuleMetadata(Metadata): + """Metadata about the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provisioned_by: Azure offering managing this resource on-behalf-of customer. + :vartype provisioned_by: str + """ + + _validation = { + 'provisioned_by': {'readonly': True}, + } + + _attribute_map = { + 'provisioned_by': {'key': 'provisionedBy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataCollectionRuleMetadata, self).__init__(**kwargs) + + class DataCollectionRuleResource(msrest.serialization.Model): """Definition of ARM tracked top level resource. @@ -824,7 +992,8 @@ class DataCollectionRuleResource(msrest.serialization.Model): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param kind: The kind of the resource. Possible values include: "Linux", "Windows". - :type kind: str or ~azure.mgmt.amcs.models.KnownDataCollectionRuleResourceKind + :type kind: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleResourceKind :ivar id: Fully qualified ID of the resource. :vartype id: str :ivar name: The name of the resource. @@ -834,23 +1003,31 @@ class DataCollectionRuleResource(msrest.serialization.Model): :ivar etag: Resource entity tag (ETag). :vartype etag: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.amcs.models.SystemData + :vartype system_data: ~$(python-base-namespace).v2021_09_01_preview.models.SystemData :param description: Description of the data collection rule. :type description: str :ivar immutable_id: The immutable ID of this data collection rule. This property is READ-ONLY. :vartype immutable_id: str + :param data_collection_endpoint_id: The resource ID of the data collection endpoint that this + rule can be used with. + :type data_collection_endpoint_id: str + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata + :param stream_declarations: Declaration of custom streams used in this rule. + :type stream_declarations: dict[str, ~$(python-base- + namespace).v2021_09_01_preview.models.StreamDeclaration] :param data_sources: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. - :type data_sources: ~azure.mgmt.amcs.models.DataSourcesSpec + :type data_sources: ~$(python-base-namespace).v2021_09_01_preview.models.DataSourcesSpec :param destinations: The specification of destinations. - :type destinations: ~azure.mgmt.amcs.models.DestinationsSpec + :type destinations: ~$(python-base-namespace).v2021_09_01_preview.models.DestinationsSpec :param data_flows: The specification of data flows. - :type data_flows: list[~azure.mgmt.amcs.models.DataFlow] + :type data_flows: list[~$(python-base-namespace).v2021_09_01_preview.models.DataFlow] :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleProvisioningState """ _validation = { @@ -861,6 +1038,7 @@ class DataCollectionRuleResource(msrest.serialization.Model): 'etag': {'readonly': True}, 'system_data': {'readonly': True}, 'immutable_id': {'readonly': True}, + 'metadata': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -875,6 +1053,9 @@ class DataCollectionRuleResource(msrest.serialization.Model): 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'description': {'key': 'properties.description', 'type': 'str'}, 'immutable_id': {'key': 'properties.immutableId', 'type': 'str'}, + 'data_collection_endpoint_id': {'key': 'properties.dataCollectionEndpointId', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': 'Metadata'}, + 'stream_declarations': {'key': 'properties.streamDeclarations', 'type': '{StreamDeclaration}'}, 'data_sources': {'key': 'properties.dataSources', 'type': 'DataSourcesSpec'}, 'destinations': {'key': 'properties.destinations', 'type': 'DestinationsSpec'}, 'data_flows': {'key': 'properties.dataFlows', 'type': '[DataFlow]'}, @@ -896,6 +1077,9 @@ def __init__( self.system_data = None self.description = kwargs.get('description', None) self.immutable_id = None + self.data_collection_endpoint_id = kwargs.get('data_collection_endpoint_id', None) + self.metadata = None + self.stream_declarations = kwargs.get('stream_declarations', None) self.data_sources = kwargs.get('data_sources', None) self.destinations = kwargs.get('destinations', None) self.data_flows = kwargs.get('data_flows', None) @@ -908,7 +1092,8 @@ class DataCollectionRuleResourceListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. A list of resources. - :type value: list[~azure.mgmt.amcs.models.DataCollectionRuleResource] + :type value: list[~$(python-base- + namespace).v2021_09_01_preview.models.DataCollectionRuleResource] :param next_link: The URL to use for getting the next set of results. :type next_link: str """ @@ -940,28 +1125,40 @@ class DataCollectionRuleResourceProperties(DataCollectionRule): :type description: str :ivar immutable_id: The immutable ID of this data collection rule. This property is READ-ONLY. :vartype immutable_id: str + :param data_collection_endpoint_id: The resource ID of the data collection endpoint that this + rule can be used with. + :type data_collection_endpoint_id: str + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata + :param stream_declarations: Declaration of custom streams used in this rule. + :type stream_declarations: dict[str, ~$(python-base- + namespace).v2021_09_01_preview.models.StreamDeclaration] :param data_sources: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. - :type data_sources: ~azure.mgmt.amcs.models.DataSourcesSpec + :type data_sources: ~$(python-base-namespace).v2021_09_01_preview.models.DataSourcesSpec :param destinations: The specification of destinations. - :type destinations: ~azure.mgmt.amcs.models.DestinationsSpec + :type destinations: ~$(python-base-namespace).v2021_09_01_preview.models.DestinationsSpec :param data_flows: The specification of data flows. - :type data_flows: list[~azure.mgmt.amcs.models.DataFlow] + :type data_flows: list[~$(python-base-namespace).v2021_09_01_preview.models.DataFlow] :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleProvisioningState """ _validation = { 'immutable_id': {'readonly': True}, + 'metadata': {'readonly': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'description': {'key': 'description', 'type': 'str'}, 'immutable_id': {'key': 'immutableId', 'type': 'str'}, + 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, + 'stream_declarations': {'key': 'streamDeclarations', 'type': '{StreamDeclaration}'}, 'data_sources': {'key': 'dataSources', 'type': 'DataSourcesSpec'}, 'destinations': {'key': 'destinations', 'type': 'DestinationsSpec'}, 'data_flows': {'key': 'dataFlows', 'type': '[DataFlow]'}, @@ -982,14 +1179,16 @@ class DataCollectionRuleResourceSystemData(SystemData): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -1014,14 +1213,22 @@ class DataFlow(msrest.serialization.Model): """Definition of which streams are sent to which destinations. :param streams: List of streams for this data flow. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownDataFlowStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataFlowStreams] :param destinations: List of destinations for this data flow. :type destinations: list[str] + :param transform_kql: The KQL query to transform stream data. + :type transform_kql: str + :param output_stream: The output stream of the transform. Only required if the transform + changes data to a different stream. + :type output_stream: str """ _attribute_map = { 'streams': {'key': 'streams', 'type': '[str]'}, 'destinations': {'key': 'destinations', 'type': '[str]'}, + 'transform_kql': {'key': 'transformKql', 'type': 'str'}, + 'output_stream': {'key': 'outputStream', 'type': 'str'}, } def __init__( @@ -1031,6 +1238,8 @@ def __init__( super(DataFlow, self).__init__(**kwargs) self.streams = kwargs.get('streams', None) self.destinations = kwargs.get('destinations', None) + self.transform_kql = kwargs.get('transform_kql', None) + self.output_stream = kwargs.get('output_stream', None) class DestinationsSpecAzureMonitorMetrics(AzureMonitorMetricsDestination): @@ -1095,9 +1304,10 @@ class ErrorDetail(msrest.serialization.Model): :ivar target: The error target. :vartype target: str :ivar details: The error details. - :vartype details: list[~azure.mgmt.amcs.models.ErrorDetail] + :vartype details: list[~$(python-base-namespace).v2021_09_01_preview.models.ErrorDetail] :ivar additional_info: The error additional info. - :vartype additional_info: list[~azure.mgmt.amcs.models.ErrorAdditionalInfo] + :vartype additional_info: list[~$(python-base- + namespace).v2021_09_01_preview.models.ErrorAdditionalInfo] """ _validation = { @@ -1128,11 +1338,11 @@ def __init__( self.additional_info = None -class ErrorResponse(msrest.serialization.Model): +class ErrorResponseCommonV2(msrest.serialization.Model): """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). :param error: The error object. - :type error: ~azure.mgmt.amcs.models.ErrorDetail + :type error: ~$(python-base-namespace).v2021_09_01_preview.models.ErrorDetail """ _attribute_map = { @@ -1143,7 +1353,7 @@ def __init__( self, **kwargs ): - super(ErrorResponse, self).__init__(**kwargs) + super(ErrorResponseCommonV2, self).__init__(**kwargs) self.error = kwargs.get('error', None) @@ -1156,7 +1366,8 @@ class ExtensionDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownExtensionDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownExtensionDataSourceStreams] :param extension_name: Required. The name of the VM extension. :type extension_name: str :param extension_settings: The extension settings. The format is specific for particular @@ -1194,6 +1405,41 @@ def __init__( self.name = kwargs.get('name', None) +class IisLogsDataSource(msrest.serialization.Model): + """Enables IIS logs to be collected by this data collection rule. + + All required parameters must be populated in order to send to Azure. + + :param streams: Required. IIS streams. + :type streams: list[str] + :param log_directories: Absolute paths file location. + :type log_directories: list[str] + :param name: A friendly name for the data source. + This name should be unique across all data sources (regardless of type) within the data + collection rule. + :type name: str + """ + + _validation = { + 'streams': {'required': True}, + } + + _attribute_map = { + 'streams': {'key': 'streams', 'type': '[str]'}, + 'log_directories': {'key': 'logDirectories', 'type': '[str]'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IisLogsDataSource, self).__init__(**kwargs) + self.streams = kwargs['streams'] + self.log_directories = kwargs.get('log_directories', None) + self.name = kwargs.get('name', None) + + class LogAnalyticsDestination(msrest.serialization.Model): """Log Analytics destination. @@ -1229,6 +1475,147 @@ def __init__( self.name = kwargs.get('name', None) +class LogFilesDataSource(msrest.serialization.Model): + """Definition of which custom log files will be collected by this data collection rule. + + All required parameters must be populated in order to send to Azure. + + :param streams: Required. List of streams that this data source will be sent to. + A stream indicates what schema will be used for this data source. + :type streams: list[str] + :param file_patterns: Required. File Patterns where the log files are located. + :type file_patterns: list[str] + :param format: Required. The data format of the log files. Possible values include: "text". + :type format: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownLogFilesDataSourceFormat + :param settings: The log files specific settings. + :type settings: ~$(python-base-namespace).v2021_09_01_preview.models.LogFileSettings + :param name: A friendly name for the data source. + This name should be unique across all data sources (regardless of type) within the data + collection rule. + :type name: str + """ + + _validation = { + 'streams': {'required': True}, + 'file_patterns': {'required': True}, + 'format': {'required': True}, + } + + _attribute_map = { + 'streams': {'key': 'streams', 'type': '[str]'}, + 'file_patterns': {'key': 'filePatterns', 'type': '[str]'}, + 'format': {'key': 'format', 'type': 'str'}, + 'settings': {'key': 'settings', 'type': 'LogFileSettings'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LogFilesDataSource, self).__init__(**kwargs) + self.streams = kwargs['streams'] + self.file_patterns = kwargs['file_patterns'] + self.format = kwargs['format'] + self.settings = kwargs.get('settings', None) + self.name = kwargs.get('name', None) + + +class LogFileSettings(msrest.serialization.Model): + """Settings for different log file formats. + + :param text: Text settings. + :type text: ~$(python-base-namespace).v2021_09_01_preview.models.LogFileTextSettings + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'LogFileTextSettings'}, + } + + def __init__( + self, + **kwargs + ): + super(LogFileSettings, self).__init__(**kwargs) + self.text = kwargs.get('text', None) + + +class LogFilesDataSourceSettings(LogFileSettings): + """The log files specific settings. + + :param text: Text settings. + :type text: ~$(python-base-namespace).v2021_09_01_preview.models.LogFileTextSettings + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'LogFileTextSettings'}, + } + + def __init__( + self, + **kwargs + ): + super(LogFilesDataSourceSettings, self).__init__(**kwargs) + + +class LogFileTextSettings(msrest.serialization.Model): + """Settings for text log files. + + All required parameters must be populated in order to send to Azure. + + :param record_start_timestamp_format: Required. One of the supported timestamp formats. + Possible values include: "ISO 8601", "YYYY-MM-DD HH:MM:SS", "M/D/YYYY HH:MM:SS AM/PM", "Mon DD, + YYYY HH:MM:SS", "yyMMdd HH:mm:ss", "ddMMyy HH:mm:ss", "MMM d hh:mm:ss", "dd/MMM/yyyy:HH:mm:ss + zzz", "yyyy-MM-ddTHH:mm:ssK". + :type record_start_timestamp_format: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownLogFileTextSettingsRecordStartTimestampFormat + """ + + _validation = { + 'record_start_timestamp_format': {'required': True}, + } + + _attribute_map = { + 'record_start_timestamp_format': {'key': 'recordStartTimestampFormat', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LogFileTextSettings, self).__init__(**kwargs) + self.record_start_timestamp_format = kwargs['record_start_timestamp_format'] + + +class LogFileSettingsText(LogFileTextSettings): + """Text settings. + + All required parameters must be populated in order to send to Azure. + + :param record_start_timestamp_format: Required. One of the supported timestamp formats. + Possible values include: "ISO 8601", "YYYY-MM-DD HH:MM:SS", "M/D/YYYY HH:MM:SS AM/PM", "Mon DD, + YYYY HH:MM:SS", "yyMMdd HH:mm:ss", "ddMMyy HH:mm:ss", "MMM d hh:mm:ss", "dd/MMM/yyyy:HH:mm:ss + zzz", "yyyy-MM-ddTHH:mm:ssK". + :type record_start_timestamp_format: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownLogFileTextSettingsRecordStartTimestampFormat + """ + + _validation = { + 'record_start_timestamp_format': {'required': True}, + } + + _attribute_map = { + 'record_start_timestamp_format': {'key': 'recordStartTimestampFormat', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LogFileSettingsText, self).__init__(**kwargs) + + class PerfCounterDataSource(msrest.serialization.Model): """Definition of which performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present. @@ -1236,7 +1623,8 @@ class PerfCounterDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownPerfCounterDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownPerfCounterDataSourceStreams] :param sampling_frequency_in_seconds: The number of seconds between consecutive counter measurements (samples). :type sampling_frequency_in_seconds: int @@ -1288,6 +1676,25 @@ def __init__( self.tags = kwargs.get('tags', None) +class StreamDeclaration(msrest.serialization.Model): + """Declaration of a custom stream. + + :param columns: List of columns used by data in this stream. + :type columns: list[~$(python-base-namespace).v2021_09_01_preview.models.ColumnDefinition] + """ + + _attribute_map = { + 'columns': {'key': 'columns', 'type': '[ColumnDefinition]'}, + } + + def __init__( + self, + **kwargs + ): + super(StreamDeclaration, self).__init__(**kwargs) + self.columns = kwargs.get('columns', None) + + class SyslogDataSource(msrest.serialization.Model): """Definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines. @@ -1295,11 +1702,14 @@ class SyslogDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownSyslogDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownSyslogDataSourceStreams] :param facility_names: The list of facility names. - :type facility_names: list[str or ~azure.mgmt.amcs.models.KnownSyslogDataSourceFacilityNames] + :type facility_names: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownSyslogDataSourceFacilityNames] :param log_levels: The log levels to collect. - :type log_levels: list[str or ~azure.mgmt.amcs.models.KnownSyslogDataSourceLogLevels] + :type log_levels: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownSyslogDataSourceLogLevels] :param name: A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule. @@ -1331,7 +1741,8 @@ class WindowsEventLogDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownWindowsEventLogDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownWindowsEventLogDataSourceStreams] :param x_path_queries: A list of Windows Event Log queries in XPATH format. :type x_path_queries: list[str] :param name: A friendly name for the data source. diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models_py3.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models_py3.py index 00b4d7984c3..eac1042ad23 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models_py3.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_models_py3.py @@ -38,6 +38,34 @@ def __init__( self.name = name +class ColumnDefinition(msrest.serialization.Model): + """Definition of custom data column. + + :param name: The name of the column. + :type name: str + :param type: The type of the column data. Possible values include: "string", "int", "long", + "real", "boolean", "datetime", "dynamic". + :type type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownColumnDefinitionType + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "KnownColumnDefinitionType"]] = None, + **kwargs + ): + super(ColumnDefinition, self).__init__(**kwargs) + self.name = name + self.type = type + + class ConfigurationAccessEndpointSpec(msrest.serialization.Model): """Definition of the endpoint used for accessing configuration. @@ -73,16 +101,18 @@ class DataCollectionEndpoint(msrest.serialization.Model): :param immutable_id: The immutable ID of this data collection endpoint resource. This property is READ-ONLY. :type immutable_id: str - :param configuration_access: The endpoint used by agents to access their configuration. - :type configuration_access: ~azure.mgmt.amcs.models.ConfigurationAccessEndpointSpec + :param configuration_access: The endpoint used by clients to access their configuration. + :type configuration_access: ~$(python-base- + namespace).v2021_09_01_preview.models.ConfigurationAccessEndpointSpec :param logs_ingestion: The endpoint used by clients to ingest logs. - :type logs_ingestion: ~azure.mgmt.amcs.models.LogsIngestionEndpointSpec + :type logs_ingestion: ~$(python-base- + namespace).v2021_09_01_preview.models.LogsIngestionEndpointSpec :param network_acls: Network access control rules for the endpoints. - :type network_acls: ~azure.mgmt.amcs.models.NetworkRuleSet + :type network_acls: ~$(python-base-namespace).v2021_09_01_preview.models.NetworkRuleSet :ivar provisioning_state: The resource provisioning state. This property is READ-ONLY. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionEndpointProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointProvisioningState """ _validation = { @@ -118,7 +148,7 @@ def __init__( class DataCollectionEndpointConfigurationAccess(ConfigurationAccessEndpointSpec): - """The endpoint used by agents to access their configuration. + """The endpoint used by clients to access their configuration. Variables are only populated by the server, and will be ignored when sending a request. @@ -195,7 +225,8 @@ class NetworkRuleSet(msrest.serialization.Model): :param public_network_access: The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.amcs.models.KnownPublicNetworkAccessOptions + :type public_network_access: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownPublicNetworkAccessOptions """ _attribute_map = { @@ -217,7 +248,8 @@ class DataCollectionEndpointNetworkAcls(NetworkRuleSet): :param public_network_access: The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.amcs.models.KnownPublicNetworkAccessOptions + :type public_network_access: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownPublicNetworkAccessOptions """ _attribute_map = { @@ -245,7 +277,8 @@ class DataCollectionEndpointResource(msrest.serialization.Model): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param kind: The kind of the resource. Possible values include: "Linux", "Windows". - :type kind: str or ~azure.mgmt.amcs.models.KnownDataCollectionEndpointResourceKind + :type kind: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointResourceKind :ivar id: Fully qualified ID of the resource. :vartype id: str :ivar name: The name of the resource. @@ -255,22 +288,24 @@ class DataCollectionEndpointResource(msrest.serialization.Model): :ivar etag: Resource entity tag (ETag). :vartype etag: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.amcs.models.SystemData + :vartype system_data: ~$(python-base-namespace).v2021_09_01_preview.models.SystemData :param description: Description of the data collection endpoint. :type description: str :param immutable_id: The immutable ID of this data collection endpoint resource. This property is READ-ONLY. :type immutable_id: str - :param configuration_access: The endpoint used by agents to access their configuration. - :type configuration_access: ~azure.mgmt.amcs.models.ConfigurationAccessEndpointSpec + :param configuration_access: The endpoint used by clients to access their configuration. + :type configuration_access: ~$(python-base- + namespace).v2021_09_01_preview.models.ConfigurationAccessEndpointSpec :param logs_ingestion: The endpoint used by clients to ingest logs. - :type logs_ingestion: ~azure.mgmt.amcs.models.LogsIngestionEndpointSpec + :type logs_ingestion: ~$(python-base- + namespace).v2021_09_01_preview.models.LogsIngestionEndpointSpec :param network_acls: Network access control rules for the endpoints. - :type network_acls: ~azure.mgmt.amcs.models.NetworkRuleSet + :type network_acls: ~$(python-base-namespace).v2021_09_01_preview.models.NetworkRuleSet :ivar provisioning_state: The resource provisioning state. This property is READ-ONLY. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionEndpointProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointProvisioningState """ _validation = { @@ -336,7 +371,8 @@ class DataCollectionEndpointResourceListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. A list of resources. - :type value: list[~azure.mgmt.amcs.models.DataCollectionEndpointResource] + :type value: list[~$(python-base- + namespace).v2021_09_01_preview.models.DataCollectionEndpointResource] :param next_link: The URL to use for getting the next set of results. :type next_link: str """ @@ -372,16 +408,18 @@ class DataCollectionEndpointResourceProperties(DataCollectionEndpoint): :param immutable_id: The immutable ID of this data collection endpoint resource. This property is READ-ONLY. :type immutable_id: str - :param configuration_access: The endpoint used by agents to access their configuration. - :type configuration_access: ~azure.mgmt.amcs.models.ConfigurationAccessEndpointSpec + :param configuration_access: The endpoint used by clients to access their configuration. + :type configuration_access: ~$(python-base- + namespace).v2021_09_01_preview.models.ConfigurationAccessEndpointSpec :param logs_ingestion: The endpoint used by clients to ingest logs. - :type logs_ingestion: ~azure.mgmt.amcs.models.LogsIngestionEndpointSpec + :type logs_ingestion: ~$(python-base- + namespace).v2021_09_01_preview.models.LogsIngestionEndpointSpec :param network_acls: Network access control rules for the endpoints. - :type network_acls: ~azure.mgmt.amcs.models.NetworkRuleSet + :type network_acls: ~$(python-base-namespace).v2021_09_01_preview.models.NetworkRuleSet :ivar provisioning_state: The resource provisioning state. This property is READ-ONLY. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionEndpointProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionEndpointProvisioningState """ _validation = { @@ -417,14 +455,16 @@ class SystemData(msrest.serialization.Model): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -465,14 +505,16 @@ class DataCollectionEndpointResourceSystemData(SystemData): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -509,28 +551,40 @@ class DataCollectionRule(msrest.serialization.Model): :type description: str :ivar immutable_id: The immutable ID of this data collection rule. This property is READ-ONLY. :vartype immutable_id: str + :param data_collection_endpoint_id: The resource ID of the data collection endpoint that this + rule can be used with. + :type data_collection_endpoint_id: str + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata + :param stream_declarations: Declaration of custom streams used in this rule. + :type stream_declarations: dict[str, ~$(python-base- + namespace).v2021_09_01_preview.models.StreamDeclaration] :param data_sources: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. - :type data_sources: ~azure.mgmt.amcs.models.DataSourcesSpec + :type data_sources: ~$(python-base-namespace).v2021_09_01_preview.models.DataSourcesSpec :param destinations: The specification of destinations. - :type destinations: ~azure.mgmt.amcs.models.DestinationsSpec + :type destinations: ~$(python-base-namespace).v2021_09_01_preview.models.DestinationsSpec :param data_flows: The specification of data flows. - :type data_flows: list[~azure.mgmt.amcs.models.DataFlow] + :type data_flows: list[~$(python-base-namespace).v2021_09_01_preview.models.DataFlow] :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleProvisioningState """ _validation = { 'immutable_id': {'readonly': True}, + 'metadata': {'readonly': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'description': {'key': 'description', 'type': 'str'}, 'immutable_id': {'key': 'immutableId', 'type': 'str'}, + 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, + 'stream_declarations': {'key': 'streamDeclarations', 'type': '{StreamDeclaration}'}, 'data_sources': {'key': 'dataSources', 'type': 'DataSourcesSpec'}, 'destinations': {'key': 'destinations', 'type': 'DestinationsSpec'}, 'data_flows': {'key': 'dataFlows', 'type': '[DataFlow]'}, @@ -541,6 +595,8 @@ def __init__( self, *, description: Optional[str] = None, + data_collection_endpoint_id: Optional[str] = None, + stream_declarations: Optional[Dict[str, "StreamDeclaration"]] = None, data_sources: Optional["DataSourcesSpec"] = None, destinations: Optional["DestinationsSpec"] = None, data_flows: Optional[List["DataFlow"]] = None, @@ -549,6 +605,9 @@ def __init__( super(DataCollectionRule, self).__init__(**kwargs) self.description = description self.immutable_id = None + self.data_collection_endpoint_id = data_collection_endpoint_id + self.metadata = None + self.stream_declarations = stream_declarations self.data_sources = data_sources self.destinations = destinations self.data_flows = data_flows @@ -570,12 +629,15 @@ class DataCollectionRuleAssociation(msrest.serialization.Model): :type data_collection_endpoint_id: str :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleAssociationProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleAssociationProvisioningState + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata """ _validation = { 'provisioning_state': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -583,6 +645,7 @@ class DataCollectionRuleAssociation(msrest.serialization.Model): 'data_collection_rule_id': {'key': 'dataCollectionRuleId', 'type': 'str'}, 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, } def __init__( @@ -598,6 +661,56 @@ def __init__( self.data_collection_rule_id = data_collection_rule_id self.data_collection_endpoint_id = data_collection_endpoint_id self.provisioning_state = None + self.metadata = None + + +class Metadata(msrest.serialization.Model): + """Metadata about the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provisioned_by: Azure offering managing this resource on-behalf-of customer. + :vartype provisioned_by: str + """ + + _validation = { + 'provisioned_by': {'readonly': True}, + } + + _attribute_map = { + 'provisioned_by': {'key': 'provisionedBy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Metadata, self).__init__(**kwargs) + self.provisioned_by = None + + +class DataCollectionRuleAssociationMetadata(Metadata): + """Metadata about the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provisioned_by: Azure offering managing this resource on-behalf-of customer. + :vartype provisioned_by: str + """ + + _validation = { + 'provisioned_by': {'readonly': True}, + } + + _attribute_map = { + 'provisioned_by': {'key': 'provisionedBy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataCollectionRuleAssociationMetadata, self).__init__(**kwargs) class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model): @@ -614,7 +727,7 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) :ivar etag: Resource entity tag (ETag). :vartype etag: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.amcs.models.SystemData + :vartype system_data: ~$(python-base-namespace).v2021_09_01_preview.models.SystemData :param description: Description of the association. :type description: str :param data_collection_rule_id: The resource ID of the data collection rule that is to be @@ -625,8 +738,10 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) :type data_collection_endpoint_id: str :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleAssociationProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleAssociationProvisioningState + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata """ _validation = { @@ -636,6 +751,7 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) 'etag': {'readonly': True}, 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -648,6 +764,7 @@ class DataCollectionRuleAssociationProxyOnlyResource(msrest.serialization.Model) 'data_collection_rule_id': {'key': 'properties.dataCollectionRuleId', 'type': 'str'}, 'data_collection_endpoint_id': {'key': 'properties.dataCollectionEndpointId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': 'Metadata'}, } def __init__( @@ -668,6 +785,7 @@ def __init__( self.data_collection_rule_id = data_collection_rule_id self.data_collection_endpoint_id = data_collection_endpoint_id self.provisioning_state = None + self.metadata = None class DataCollectionRuleAssociationProxyOnlyResourceListResult(msrest.serialization.Model): @@ -676,7 +794,8 @@ class DataCollectionRuleAssociationProxyOnlyResourceListResult(msrest.serializat All required parameters must be populated in order to send to Azure. :param value: Required. A list of resources. - :type value: list[~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource] + :type value: list[~$(python-base- + namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource] :param next_link: The URL to use for getting the next set of results. :type next_link: str """ @@ -717,12 +836,15 @@ class DataCollectionRuleAssociationProxyOnlyResourceProperties(DataCollectionRul :type data_collection_endpoint_id: str :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleAssociationProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleAssociationProvisioningState + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata """ _validation = { 'provisioning_state': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -730,6 +852,7 @@ class DataCollectionRuleAssociationProxyOnlyResourceProperties(DataCollectionRul 'data_collection_rule_id': {'key': 'dataCollectionRuleId', 'type': 'str'}, 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, } def __init__( @@ -750,14 +873,16 @@ class DataCollectionRuleAssociationProxyOnlyResourceSystemData(SystemData): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -789,13 +914,20 @@ class DataSourcesSpec(msrest.serialization.Model): """Specification of data sources that will be collected. :param performance_counters: The list of performance counter data source configurations. - :type performance_counters: list[~azure.mgmt.amcs.models.PerfCounterDataSource] + :type performance_counters: list[~$(python-base- + namespace).v2021_09_01_preview.models.PerfCounterDataSource] :param windows_event_logs: The list of Windows Event Log data source configurations. - :type windows_event_logs: list[~azure.mgmt.amcs.models.WindowsEventLogDataSource] + :type windows_event_logs: list[~$(python-base- + namespace).v2021_09_01_preview.models.WindowsEventLogDataSource] :param syslog: The list of Syslog data source configurations. - :type syslog: list[~azure.mgmt.amcs.models.SyslogDataSource] + :type syslog: list[~$(python-base-namespace).v2021_09_01_preview.models.SyslogDataSource] :param extensions: The list of Azure VM extension data source configurations. - :type extensions: list[~azure.mgmt.amcs.models.ExtensionDataSource] + :type extensions: list[~$(python-base- + namespace).v2021_09_01_preview.models.ExtensionDataSource] + :param log_files: The list of Log files source configurations. + :type log_files: list[~$(python-base-namespace).v2021_09_01_preview.models.LogFilesDataSource] + :param iis_logs: The list of IIS logs source configurations. + :type iis_logs: list[~$(python-base-namespace).v2021_09_01_preview.models.IisLogsDataSource] """ _attribute_map = { @@ -803,6 +935,8 @@ class DataSourcesSpec(msrest.serialization.Model): 'windows_event_logs': {'key': 'windowsEventLogs', 'type': '[WindowsEventLogDataSource]'}, 'syslog': {'key': 'syslog', 'type': '[SyslogDataSource]'}, 'extensions': {'key': 'extensions', 'type': '[ExtensionDataSource]'}, + 'log_files': {'key': 'logFiles', 'type': '[LogFilesDataSource]'}, + 'iis_logs': {'key': 'iisLogs', 'type': '[IisLogsDataSource]'}, } def __init__( @@ -812,6 +946,8 @@ def __init__( windows_event_logs: Optional[List["WindowsEventLogDataSource"]] = None, syslog: Optional[List["SyslogDataSource"]] = None, extensions: Optional[List["ExtensionDataSource"]] = None, + log_files: Optional[List["LogFilesDataSource"]] = None, + iis_logs: Optional[List["IisLogsDataSource"]] = None, **kwargs ): super(DataSourcesSpec, self).__init__(**kwargs) @@ -819,6 +955,8 @@ def __init__( self.windows_event_logs = windows_event_logs self.syslog = syslog self.extensions = extensions + self.log_files = log_files + self.iis_logs = iis_logs class DataCollectionRuleDataSources(DataSourcesSpec): @@ -826,13 +964,20 @@ class DataCollectionRuleDataSources(DataSourcesSpec): This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. :param performance_counters: The list of performance counter data source configurations. - :type performance_counters: list[~azure.mgmt.amcs.models.PerfCounterDataSource] + :type performance_counters: list[~$(python-base- + namespace).v2021_09_01_preview.models.PerfCounterDataSource] :param windows_event_logs: The list of Windows Event Log data source configurations. - :type windows_event_logs: list[~azure.mgmt.amcs.models.WindowsEventLogDataSource] + :type windows_event_logs: list[~$(python-base- + namespace).v2021_09_01_preview.models.WindowsEventLogDataSource] :param syslog: The list of Syslog data source configurations. - :type syslog: list[~azure.mgmt.amcs.models.SyslogDataSource] + :type syslog: list[~$(python-base-namespace).v2021_09_01_preview.models.SyslogDataSource] :param extensions: The list of Azure VM extension data source configurations. - :type extensions: list[~azure.mgmt.amcs.models.ExtensionDataSource] + :type extensions: list[~$(python-base- + namespace).v2021_09_01_preview.models.ExtensionDataSource] + :param log_files: The list of Log files source configurations. + :type log_files: list[~$(python-base-namespace).v2021_09_01_preview.models.LogFilesDataSource] + :param iis_logs: The list of IIS logs source configurations. + :type iis_logs: list[~$(python-base-namespace).v2021_09_01_preview.models.IisLogsDataSource] """ _attribute_map = { @@ -840,6 +985,8 @@ class DataCollectionRuleDataSources(DataSourcesSpec): 'windows_event_logs': {'key': 'windowsEventLogs', 'type': '[WindowsEventLogDataSource]'}, 'syslog': {'key': 'syslog', 'type': '[SyslogDataSource]'}, 'extensions': {'key': 'extensions', 'type': '[ExtensionDataSource]'}, + 'log_files': {'key': 'logFiles', 'type': '[LogFilesDataSource]'}, + 'iis_logs': {'key': 'iisLogs', 'type': '[IisLogsDataSource]'}, } def __init__( @@ -849,18 +996,22 @@ def __init__( windows_event_logs: Optional[List["WindowsEventLogDataSource"]] = None, syslog: Optional[List["SyslogDataSource"]] = None, extensions: Optional[List["ExtensionDataSource"]] = None, + log_files: Optional[List["LogFilesDataSource"]] = None, + iis_logs: Optional[List["IisLogsDataSource"]] = None, **kwargs ): - super(DataCollectionRuleDataSources, self).__init__(performance_counters=performance_counters, windows_event_logs=windows_event_logs, syslog=syslog, extensions=extensions, **kwargs) + super(DataCollectionRuleDataSources, self).__init__(performance_counters=performance_counters, windows_event_logs=windows_event_logs, syslog=syslog, extensions=extensions, log_files=log_files, iis_logs=iis_logs, **kwargs) class DestinationsSpec(msrest.serialization.Model): """Specification of destinations that can be used in data flows. :param log_analytics: List of Log Analytics destinations. - :type log_analytics: list[~azure.mgmt.amcs.models.LogAnalyticsDestination] + :type log_analytics: list[~$(python-base- + namespace).v2021_09_01_preview.models.LogAnalyticsDestination] :param azure_monitor_metrics: Azure Monitor Metrics destination. - :type azure_monitor_metrics: ~azure.mgmt.amcs.models.AzureMonitorMetricsDestination + :type azure_monitor_metrics: ~$(python-base- + namespace).v2021_09_01_preview.models.AzureMonitorMetricsDestination """ _attribute_map = { @@ -884,9 +1035,11 @@ class DataCollectionRuleDestinations(DestinationsSpec): """The specification of destinations. :param log_analytics: List of Log Analytics destinations. - :type log_analytics: list[~azure.mgmt.amcs.models.LogAnalyticsDestination] + :type log_analytics: list[~$(python-base- + namespace).v2021_09_01_preview.models.LogAnalyticsDestination] :param azure_monitor_metrics: Azure Monitor Metrics destination. - :type azure_monitor_metrics: ~azure.mgmt.amcs.models.AzureMonitorMetricsDestination + :type azure_monitor_metrics: ~$(python-base- + namespace).v2021_09_01_preview.models.AzureMonitorMetricsDestination """ _attribute_map = { @@ -904,6 +1057,30 @@ def __init__( super(DataCollectionRuleDestinations, self).__init__(log_analytics=log_analytics, azure_monitor_metrics=azure_monitor_metrics, **kwargs) +class DataCollectionRuleMetadata(Metadata): + """Metadata about the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provisioned_by: Azure offering managing this resource on-behalf-of customer. + :vartype provisioned_by: str + """ + + _validation = { + 'provisioned_by': {'readonly': True}, + } + + _attribute_map = { + 'provisioned_by': {'key': 'provisionedBy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataCollectionRuleMetadata, self).__init__(**kwargs) + + class DataCollectionRuleResource(msrest.serialization.Model): """Definition of ARM tracked top level resource. @@ -916,7 +1093,8 @@ class DataCollectionRuleResource(msrest.serialization.Model): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param kind: The kind of the resource. Possible values include: "Linux", "Windows". - :type kind: str or ~azure.mgmt.amcs.models.KnownDataCollectionRuleResourceKind + :type kind: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleResourceKind :ivar id: Fully qualified ID of the resource. :vartype id: str :ivar name: The name of the resource. @@ -926,23 +1104,31 @@ class DataCollectionRuleResource(msrest.serialization.Model): :ivar etag: Resource entity tag (ETag). :vartype etag: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.amcs.models.SystemData + :vartype system_data: ~$(python-base-namespace).v2021_09_01_preview.models.SystemData :param description: Description of the data collection rule. :type description: str :ivar immutable_id: The immutable ID of this data collection rule. This property is READ-ONLY. :vartype immutable_id: str + :param data_collection_endpoint_id: The resource ID of the data collection endpoint that this + rule can be used with. + :type data_collection_endpoint_id: str + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata + :param stream_declarations: Declaration of custom streams used in this rule. + :type stream_declarations: dict[str, ~$(python-base- + namespace).v2021_09_01_preview.models.StreamDeclaration] :param data_sources: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. - :type data_sources: ~azure.mgmt.amcs.models.DataSourcesSpec + :type data_sources: ~$(python-base-namespace).v2021_09_01_preview.models.DataSourcesSpec :param destinations: The specification of destinations. - :type destinations: ~azure.mgmt.amcs.models.DestinationsSpec + :type destinations: ~$(python-base-namespace).v2021_09_01_preview.models.DestinationsSpec :param data_flows: The specification of data flows. - :type data_flows: list[~azure.mgmt.amcs.models.DataFlow] + :type data_flows: list[~$(python-base-namespace).v2021_09_01_preview.models.DataFlow] :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleProvisioningState """ _validation = { @@ -953,6 +1139,7 @@ class DataCollectionRuleResource(msrest.serialization.Model): 'etag': {'readonly': True}, 'system_data': {'readonly': True}, 'immutable_id': {'readonly': True}, + 'metadata': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -967,6 +1154,9 @@ class DataCollectionRuleResource(msrest.serialization.Model): 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'description': {'key': 'properties.description', 'type': 'str'}, 'immutable_id': {'key': 'properties.immutableId', 'type': 'str'}, + 'data_collection_endpoint_id': {'key': 'properties.dataCollectionEndpointId', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': 'Metadata'}, + 'stream_declarations': {'key': 'properties.streamDeclarations', 'type': '{StreamDeclaration}'}, 'data_sources': {'key': 'properties.dataSources', 'type': 'DataSourcesSpec'}, 'destinations': {'key': 'properties.destinations', 'type': 'DestinationsSpec'}, 'data_flows': {'key': 'properties.dataFlows', 'type': '[DataFlow]'}, @@ -980,6 +1170,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, kind: Optional[Union[str, "KnownDataCollectionRuleResourceKind"]] = None, description: Optional[str] = None, + data_collection_endpoint_id: Optional[str] = None, + stream_declarations: Optional[Dict[str, "StreamDeclaration"]] = None, data_sources: Optional["DataSourcesSpec"] = None, destinations: Optional["DestinationsSpec"] = None, data_flows: Optional[List["DataFlow"]] = None, @@ -996,6 +1188,9 @@ def __init__( self.system_data = None self.description = description self.immutable_id = None + self.data_collection_endpoint_id = data_collection_endpoint_id + self.metadata = None + self.stream_declarations = stream_declarations self.data_sources = data_sources self.destinations = destinations self.data_flows = data_flows @@ -1008,7 +1203,8 @@ class DataCollectionRuleResourceListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. A list of resources. - :type value: list[~azure.mgmt.amcs.models.DataCollectionRuleResource] + :type value: list[~$(python-base- + namespace).v2021_09_01_preview.models.DataCollectionRuleResource] :param next_link: The URL to use for getting the next set of results. :type next_link: str """ @@ -1043,28 +1239,40 @@ class DataCollectionRuleResourceProperties(DataCollectionRule): :type description: str :ivar immutable_id: The immutable ID of this data collection rule. This property is READ-ONLY. :vartype immutable_id: str + :param data_collection_endpoint_id: The resource ID of the data collection endpoint that this + rule can be used with. + :type data_collection_endpoint_id: str + :ivar metadata: Metadata about the resource. + :vartype metadata: ~$(python-base-namespace).v2021_09_01_preview.models.Metadata + :param stream_declarations: Declaration of custom streams used in this rule. + :type stream_declarations: dict[str, ~$(python-base- + namespace).v2021_09_01_preview.models.StreamDeclaration] :param data_sources: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. - :type data_sources: ~azure.mgmt.amcs.models.DataSourcesSpec + :type data_sources: ~$(python-base-namespace).v2021_09_01_preview.models.DataSourcesSpec :param destinations: The specification of destinations. - :type destinations: ~azure.mgmt.amcs.models.DestinationsSpec + :type destinations: ~$(python-base-namespace).v2021_09_01_preview.models.DestinationsSpec :param data_flows: The specification of data flows. - :type data_flows: list[~azure.mgmt.amcs.models.DataFlow] + :type data_flows: list[~$(python-base-namespace).v2021_09_01_preview.models.DataFlow] :ivar provisioning_state: The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.amcs.models.KnownDataCollectionRuleProvisioningState + :vartype provisioning_state: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataCollectionRuleProvisioningState """ _validation = { 'immutable_id': {'readonly': True}, + 'metadata': {'readonly': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'description': {'key': 'description', 'type': 'str'}, 'immutable_id': {'key': 'immutableId', 'type': 'str'}, + 'data_collection_endpoint_id': {'key': 'dataCollectionEndpointId', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': 'Metadata'}, + 'stream_declarations': {'key': 'streamDeclarations', 'type': '{StreamDeclaration}'}, 'data_sources': {'key': 'dataSources', 'type': 'DataSourcesSpec'}, 'destinations': {'key': 'destinations', 'type': 'DestinationsSpec'}, 'data_flows': {'key': 'dataFlows', 'type': '[DataFlow]'}, @@ -1075,12 +1283,14 @@ def __init__( self, *, description: Optional[str] = None, + data_collection_endpoint_id: Optional[str] = None, + stream_declarations: Optional[Dict[str, "StreamDeclaration"]] = None, data_sources: Optional["DataSourcesSpec"] = None, destinations: Optional["DestinationsSpec"] = None, data_flows: Optional[List["DataFlow"]] = None, **kwargs ): - super(DataCollectionRuleResourceProperties, self).__init__(description=description, data_sources=data_sources, destinations=destinations, data_flows=data_flows, **kwargs) + super(DataCollectionRuleResourceProperties, self).__init__(description=description, data_collection_endpoint_id=data_collection_endpoint_id, stream_declarations=stream_declarations, data_sources=data_sources, destinations=destinations, data_flows=data_flows, **kwargs) class DataCollectionRuleResourceSystemData(SystemData): @@ -1090,14 +1300,16 @@ class DataCollectionRuleResourceSystemData(SystemData): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type created_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.amcs.models.CreatedByType + :type last_modified_by_type: str or ~$(python-base- + namespace).v2021_09_01_preview.models.CreatedByType :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ @@ -1129,14 +1341,22 @@ class DataFlow(msrest.serialization.Model): """Definition of which streams are sent to which destinations. :param streams: List of streams for this data flow. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownDataFlowStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownDataFlowStreams] :param destinations: List of destinations for this data flow. :type destinations: list[str] + :param transform_kql: The KQL query to transform stream data. + :type transform_kql: str + :param output_stream: The output stream of the transform. Only required if the transform + changes data to a different stream. + :type output_stream: str """ _attribute_map = { 'streams': {'key': 'streams', 'type': '[str]'}, 'destinations': {'key': 'destinations', 'type': '[str]'}, + 'transform_kql': {'key': 'transformKql', 'type': 'str'}, + 'output_stream': {'key': 'outputStream', 'type': 'str'}, } def __init__( @@ -1144,11 +1364,15 @@ def __init__( *, streams: Optional[List[Union[str, "KnownDataFlowStreams"]]] = None, destinations: Optional[List[str]] = None, + transform_kql: Optional[str] = None, + output_stream: Optional[str] = None, **kwargs ): super(DataFlow, self).__init__(**kwargs) self.streams = streams self.destinations = destinations + self.transform_kql = transform_kql + self.output_stream = output_stream class DestinationsSpecAzureMonitorMetrics(AzureMonitorMetricsDestination): @@ -1215,9 +1439,10 @@ class ErrorDetail(msrest.serialization.Model): :ivar target: The error target. :vartype target: str :ivar details: The error details. - :vartype details: list[~azure.mgmt.amcs.models.ErrorDetail] + :vartype details: list[~$(python-base-namespace).v2021_09_01_preview.models.ErrorDetail] :ivar additional_info: The error additional info. - :vartype additional_info: list[~azure.mgmt.amcs.models.ErrorAdditionalInfo] + :vartype additional_info: list[~$(python-base- + namespace).v2021_09_01_preview.models.ErrorAdditionalInfo] """ _validation = { @@ -1248,11 +1473,11 @@ def __init__( self.additional_info = None -class ErrorResponse(msrest.serialization.Model): +class ErrorResponseCommonV2(msrest.serialization.Model): """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). :param error: The error object. - :type error: ~azure.mgmt.amcs.models.ErrorDetail + :type error: ~$(python-base-namespace).v2021_09_01_preview.models.ErrorDetail """ _attribute_map = { @@ -1265,7 +1490,7 @@ def __init__( error: Optional["ErrorDetail"] = None, **kwargs ): - super(ErrorResponse, self).__init__(**kwargs) + super(ErrorResponseCommonV2, self).__init__(**kwargs) self.error = error @@ -1278,7 +1503,8 @@ class ExtensionDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownExtensionDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownExtensionDataSourceStreams] :param extension_name: Required. The name of the VM extension. :type extension_name: str :param extension_settings: The extension settings. The format is specific for particular @@ -1322,6 +1548,45 @@ def __init__( self.name = name +class IisLogsDataSource(msrest.serialization.Model): + """Enables IIS logs to be collected by this data collection rule. + + All required parameters must be populated in order to send to Azure. + + :param streams: Required. IIS streams. + :type streams: list[str] + :param log_directories: Absolute paths file location. + :type log_directories: list[str] + :param name: A friendly name for the data source. + This name should be unique across all data sources (regardless of type) within the data + collection rule. + :type name: str + """ + + _validation = { + 'streams': {'required': True}, + } + + _attribute_map = { + 'streams': {'key': 'streams', 'type': '[str]'}, + 'log_directories': {'key': 'logDirectories', 'type': '[str]'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + streams: List[str], + log_directories: Optional[List[str]] = None, + name: Optional[str] = None, + **kwargs + ): + super(IisLogsDataSource, self).__init__(**kwargs) + self.streams = streams + self.log_directories = log_directories + self.name = name + + class LogAnalyticsDestination(msrest.serialization.Model): """Log Analytics destination. @@ -1360,6 +1625,161 @@ def __init__( self.name = name +class LogFilesDataSource(msrest.serialization.Model): + """Definition of which custom log files will be collected by this data collection rule. + + All required parameters must be populated in order to send to Azure. + + :param streams: Required. List of streams that this data source will be sent to. + A stream indicates what schema will be used for this data source. + :type streams: list[str] + :param file_patterns: Required. File Patterns where the log files are located. + :type file_patterns: list[str] + :param format: Required. The data format of the log files. Possible values include: "text". + :type format: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownLogFilesDataSourceFormat + :param settings: The log files specific settings. + :type settings: ~$(python-base-namespace).v2021_09_01_preview.models.LogFileSettings + :param name: A friendly name for the data source. + This name should be unique across all data sources (regardless of type) within the data + collection rule. + :type name: str + """ + + _validation = { + 'streams': {'required': True}, + 'file_patterns': {'required': True}, + 'format': {'required': True}, + } + + _attribute_map = { + 'streams': {'key': 'streams', 'type': '[str]'}, + 'file_patterns': {'key': 'filePatterns', 'type': '[str]'}, + 'format': {'key': 'format', 'type': 'str'}, + 'settings': {'key': 'settings', 'type': 'LogFileSettings'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + streams: List[str], + file_patterns: List[str], + format: Union[str, "KnownLogFilesDataSourceFormat"], + settings: Optional["LogFileSettings"] = None, + name: Optional[str] = None, + **kwargs + ): + super(LogFilesDataSource, self).__init__(**kwargs) + self.streams = streams + self.file_patterns = file_patterns + self.format = format + self.settings = settings + self.name = name + + +class LogFileSettings(msrest.serialization.Model): + """Settings for different log file formats. + + :param text: Text settings. + :type text: ~$(python-base-namespace).v2021_09_01_preview.models.LogFileTextSettings + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'LogFileTextSettings'}, + } + + def __init__( + self, + *, + text: Optional["LogFileTextSettings"] = None, + **kwargs + ): + super(LogFileSettings, self).__init__(**kwargs) + self.text = text + + +class LogFilesDataSourceSettings(LogFileSettings): + """The log files specific settings. + + :param text: Text settings. + :type text: ~$(python-base-namespace).v2021_09_01_preview.models.LogFileTextSettings + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'LogFileTextSettings'}, + } + + def __init__( + self, + *, + text: Optional["LogFileTextSettings"] = None, + **kwargs + ): + super(LogFilesDataSourceSettings, self).__init__(text=text, **kwargs) + + +class LogFileTextSettings(msrest.serialization.Model): + """Settings for text log files. + + All required parameters must be populated in order to send to Azure. + + :param record_start_timestamp_format: Required. One of the supported timestamp formats. + Possible values include: "ISO 8601", "YYYY-MM-DD HH:MM:SS", "M/D/YYYY HH:MM:SS AM/PM", "Mon DD, + YYYY HH:MM:SS", "yyMMdd HH:mm:ss", "ddMMyy HH:mm:ss", "MMM d hh:mm:ss", "dd/MMM/yyyy:HH:mm:ss + zzz", "yyyy-MM-ddTHH:mm:ssK". + :type record_start_timestamp_format: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownLogFileTextSettingsRecordStartTimestampFormat + """ + + _validation = { + 'record_start_timestamp_format': {'required': True}, + } + + _attribute_map = { + 'record_start_timestamp_format': {'key': 'recordStartTimestampFormat', 'type': 'str'}, + } + + def __init__( + self, + *, + record_start_timestamp_format: Union[str, "KnownLogFileTextSettingsRecordStartTimestampFormat"], + **kwargs + ): + super(LogFileTextSettings, self).__init__(**kwargs) + self.record_start_timestamp_format = record_start_timestamp_format + + +class LogFileSettingsText(LogFileTextSettings): + """Text settings. + + All required parameters must be populated in order to send to Azure. + + :param record_start_timestamp_format: Required. One of the supported timestamp formats. + Possible values include: "ISO 8601", "YYYY-MM-DD HH:MM:SS", "M/D/YYYY HH:MM:SS AM/PM", "Mon DD, + YYYY HH:MM:SS", "yyMMdd HH:mm:ss", "ddMMyy HH:mm:ss", "MMM d hh:mm:ss", "dd/MMM/yyyy:HH:mm:ss + zzz", "yyyy-MM-ddTHH:mm:ssK". + :type record_start_timestamp_format: str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownLogFileTextSettingsRecordStartTimestampFormat + """ + + _validation = { + 'record_start_timestamp_format': {'required': True}, + } + + _attribute_map = { + 'record_start_timestamp_format': {'key': 'recordStartTimestampFormat', 'type': 'str'}, + } + + def __init__( + self, + *, + record_start_timestamp_format: Union[str, "KnownLogFileTextSettingsRecordStartTimestampFormat"], + **kwargs + ): + super(LogFileSettingsText, self).__init__(record_start_timestamp_format=record_start_timestamp_format, **kwargs) + + class PerfCounterDataSource(msrest.serialization.Model): """Definition of which performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present. @@ -1367,7 +1787,8 @@ class PerfCounterDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownPerfCounterDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownPerfCounterDataSourceStreams] :param sampling_frequency_in_seconds: The number of seconds between consecutive counter measurements (samples). :type sampling_frequency_in_seconds: int @@ -1426,6 +1847,27 @@ def __init__( self.tags = tags +class StreamDeclaration(msrest.serialization.Model): + """Declaration of a custom stream. + + :param columns: List of columns used by data in this stream. + :type columns: list[~$(python-base-namespace).v2021_09_01_preview.models.ColumnDefinition] + """ + + _attribute_map = { + 'columns': {'key': 'columns', 'type': '[ColumnDefinition]'}, + } + + def __init__( + self, + *, + columns: Optional[List["ColumnDefinition"]] = None, + **kwargs + ): + super(StreamDeclaration, self).__init__(**kwargs) + self.columns = columns + + class SyslogDataSource(msrest.serialization.Model): """Definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines. @@ -1433,11 +1875,14 @@ class SyslogDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownSyslogDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownSyslogDataSourceStreams] :param facility_names: The list of facility names. - :type facility_names: list[str or ~azure.mgmt.amcs.models.KnownSyslogDataSourceFacilityNames] + :type facility_names: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownSyslogDataSourceFacilityNames] :param log_levels: The log levels to collect. - :type log_levels: list[str or ~azure.mgmt.amcs.models.KnownSyslogDataSourceLogLevels] + :type log_levels: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownSyslogDataSourceLogLevels] :param name: A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule. @@ -1474,7 +1919,8 @@ class WindowsEventLogDataSource(msrest.serialization.Model): :param streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. - :type streams: list[str or ~azure.mgmt.amcs.models.KnownWindowsEventLogDataSourceStreams] + :type streams: list[str or ~$(python-base- + namespace).v2021_09_01_preview.models.KnownWindowsEventLogDataSourceStreams] :param x_path_queries: A list of Windows Event Log queries in XPATH format. :type x_path_queries: list[str] :param name: A friendly name for the data source. diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_monitor_client_enums.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_monitor_client_enums.py index 9617f5f9e1e..13a81ab93fa 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_monitor_client_enums.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/models/_monitor_client_enums.py @@ -35,6 +35,18 @@ class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key" +class KnownColumnDefinitionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the column data. + """ + + STRING = "string" + INT = "int" + LONG = "long" + REAL = "real" + BOOLEAN = "boolean" + DATETIME = "datetime" + DYNAMIC = "dynamic" + class KnownDataCollectionEndpointProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The resource provisioning state. This property is READ-ONLY. """ @@ -95,6 +107,26 @@ class KnownExtensionDataSourceStreams(with_metaclass(_CaseInsensitiveEnumMeta, s MICROSOFT_SYSLOG = "Microsoft-Syslog" MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent" +class KnownLogFilesDataSourceFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The data format of the log files + """ + + TEXT = "text" + +class KnownLogFileTextSettingsRecordStartTimestampFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """One of the supported timestamp formats + """ + + ISO8601 = "ISO 8601" + YYYY_MM_DD_HH_MM_SS = "YYYY-MM-DD HH:MM:SS" + M_D_YYYY_HH_MM_SS_AM_PM = "M/D/YYYY HH:MM:SS AM/PM" + MON_DD_YYYY_HH_MM_SS = "Mon DD, YYYY HH:MM:SS" + YY_M_MDD_HH_MM_SS = "yyMMdd HH:mm:ss" + DD_M_MYY_HH_MM_SS = "ddMMyy HH:mm:ss" + MMM_D_HH_MM_SS = "MMM d hh:mm:ss" + DD_MMM_YYYY_HH_MM_SS_ZZZ = "dd/MMM/yyyy:HH:mm:ss zzz" + YYYY_MM_DD_THH_MM_SS_K = "yyyy-MM-ddTHH:mm:ssK" + class KnownPerfCounterDataSourceStreams(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MICROSOFT_PERF = "Microsoft-Perf" diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_endpoints_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_endpoints_operations.py index 87541fc7721..06d419b0f09 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_endpoints_operations.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_endpoints_operations.py @@ -30,7 +30,7 @@ class DataCollectionEndpointsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.amcs.models + :type models: ~$(python-base-namespace).v2021_09_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionEndpointResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.amcs.models.DataCollectionEndpointResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResourceListResult"] @@ -67,7 +67,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -80,7 +80,7 @@ def prepare_request(next_link=None): url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -108,7 +108,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -130,7 +130,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionEndpointResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.amcs.models.DataCollectionEndpointResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResourceListResult"] @@ -138,7 +138,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -178,7 +178,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -207,7 +207,7 @@ def get( :type data_collection_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionEndpointResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResource"] @@ -215,14 +215,14 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -241,7 +241,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionEndpointResource', pipeline_response) @@ -270,10 +270,10 @@ def create( case insensitive. :type data_collection_endpoint_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionEndpointResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResource"] @@ -281,7 +281,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ def create( url = self.create.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -315,7 +315,7 @@ def create( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -348,10 +348,10 @@ def update( case insensitive. :type data_collection_endpoint_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.ResourceForUpdate + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.ResourceForUpdate :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionEndpointResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionEndpointResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionEndpointResource"] @@ -359,7 +359,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -367,7 +367,7 @@ def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -393,7 +393,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionEndpointResource', pipeline_response) @@ -430,14 +430,14 @@ def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -456,7 +456,7 @@ def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_association_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_association_operations.py deleted file mode 100644 index 5d40155e0c7..00000000000 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_association_operations.py +++ /dev/null @@ -1,399 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DataCollectionRuleAssociationOperations(object): - """DataCollectionRuleAssociationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~$(python-base-namespace).v2019_11_01_preview.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_resource( - self, - resource_uri, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] - """Lists associations for the specified resource. - - Lists associations for the specified resource. - - :param resource_uri: The identifier of the resource. - :type resource_uri: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceUri': self._serialize.url("resource_uri", resource_uri, 'str', skip_quote=True, min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResourceListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_resource.metadata = {'url': '/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations'} # type: ignore - - def list_by_rule( - self, - resource_group_name, # type: str - data_collection_rule_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] - """Lists associations for the specified data collection rule. - - Lists associations for the specified data collection rule. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param data_collection_rule_name: The name of the data collection rule. The name is case - insensitive. - :type data_collection_rule_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_rule.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResourceListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations'} # type: ignore - - def get( - self, - resource_uri, # type: str - association_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.DataCollectionRuleAssociationProxyOnlyResource" - """Returns the specified association. - - Returns the specified association. - - :param resource_uri: The identifier of the resource. - :type resource_uri: str - :param association_name: The name of the association. - :type association_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataCollectionRuleAssociationProxyOnlyResource, or the result of cls(response) - :rtype: ~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceUri': self._serialize.url("resource_uri", resource_uri, 'str', skip_quote=True, min_length=1), - 'associationName': self._serialize.url("association_name", association_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}'} # type: ignore - - def create( - self, - resource_uri, # type: str - association_name, # type: str - description=None, # type: Optional[str] - data_collection_rule_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DataCollectionRuleAssociationProxyOnlyResource" - """Creates or updates an association. - - Creates or updates an association. - - :param resource_uri: The identifier of the resource. - :type resource_uri: str - :param association_name: The name of the association. - :type association_name: str - :param description: Description of the association. - :type description: str - :param data_collection_rule_id: The resource ID of the data collection rule that is to be - associated. - :type data_collection_rule_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataCollectionRuleAssociationProxyOnlyResource, or the result of cls(response) - :rtype: ~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - body = models.DataCollectionRuleAssociationProxyOnlyResource(description=description, data_collection_rule_id=data_collection_rule_id) - api_version = "2019-11-01-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceUri': self._serialize.url("resource_uri", resource_uri, 'str', skip_quote=True, min_length=1), - 'associationName': self._serialize.url("association_name", association_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if body is not None: - body_content = self._serialize.body(body, 'DataCollectionRuleAssociationProxyOnlyResource') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResource', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}'} # type: ignore - - def delete( - self, - resource_uri, # type: str - association_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes an association. - - Deletes an association. - - :param resource_uri: The identifier of the resource. - :type resource_uri: str - :param association_name: The name of the association. - :type association_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceUri': self._serialize.url("resource_uri", resource_uri, 'str', skip_quote=True, min_length=1), - 'associationName': self._serialize.url("association_name", association_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}'} # type: ignore diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_associations_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_associations_operations.py index 00530df666a..deadbcdc5b2 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_associations_operations.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_associations_operations.py @@ -30,7 +30,7 @@ class DataCollectionRuleAssociationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.amcs.models + :type models: ~$(python-base-namespace).v2021_09_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_resource( :type resource_uri: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] @@ -67,7 +67,7 @@ def list_by_resource( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -107,7 +107,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -136,7 +136,7 @@ def list_by_rule( :type data_collection_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] @@ -144,7 +144,7 @@ def list_by_rule( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -157,7 +157,7 @@ def prepare_request(next_link=None): url = self.list_by_rule.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -186,7 +186,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -197,6 +197,85 @@ def get_next(next_link=None): ) list_by_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations'} # type: ignore + def list_by_data_collection_endpoint( + self, + resource_group_name, # type: str + data_collection_endpoint_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] + """Lists associations for the specified data collection endpoint. + + Lists associations for the specified data collection endpoint. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param data_collection_endpoint_name: The name of the data collection endpoint. The name is + case insensitive. + :type data_collection_endpoint_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataCollectionRuleAssociationProxyOnlyResourceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResourceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResourceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_collection_endpoint.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'dataCollectionEndpointName': self._serialize.url("data_collection_endpoint_name", data_collection_endpoint_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResourceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponseCommonV2, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_collection_endpoint.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/associations'} # type: ignore + def get( self, resource_uri, # type: str @@ -214,7 +293,7 @@ def get( :type association_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleAssociationProxyOnlyResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResource"] @@ -222,7 +301,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL @@ -247,7 +326,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionRuleAssociationProxyOnlyResource', pipeline_response) @@ -275,10 +354,10 @@ def create( :param association_name: The name of the association. The name is case insensitive. :type association_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleAssociationProxyOnlyResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleAssociationProxyOnlyResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleAssociationProxyOnlyResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleAssociationProxyOnlyResource"] @@ -286,7 +365,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -319,7 +398,7 @@ def create( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -359,7 +438,7 @@ def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL @@ -384,7 +463,7 @@ def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_operations.py deleted file mode 100644 index 3f3c20d4dac..00000000000 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_operations.py +++ /dev/null @@ -1,496 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DataCollectionRuleOperations(object): - """DataCollectionRuleOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~$(python-base-namespace).v2019_11_01_preview.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DataCollectionRuleResourceListResult"] - """Lists all data collection rules in the specified resource group. - - Lists all data collection rules in the specified resource group. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DataCollectionRuleResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleResourceListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResourceListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DataCollectionRuleResourceListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponseautogenerated, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules'} # type: ignore - - def list_by_subscription( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DataCollectionRuleResourceListResult"] - """Lists all data collection rules in the specified subscription. - - Lists all data collection rules in the specified subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DataCollectionRuleResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleResourceListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResourceListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DataCollectionRuleResourceListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponseautogenerated, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionRules'} # type: ignore - - def get( - self, - resource_group_name, # type: str - data_collection_rule_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.DataCollectionRuleResource" - """Returns the specified data collection rule. - - Returns the specified data collection rule. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param data_collection_rule_name: The name of the data collection rule. The name is case - insensitive. - :type data_collection_rule_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponseautogenerated, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}'} # type: ignore - - def create( - self, - resource_group_name, # type: str - data_collection_rule_name, # type: str - location=None, # type: Optional[str] - tags=None, # type: Optional[Dict[str, str]] - description=None, # type: Optional[str] - data_flows=None, # type: Optional[List["models.DataFlow"]] - log_analytics=None, # type: Optional[List["models.LogAnalyticsDestination"]] - azure_monitor_metrics=None, # type: Optional["models.AzureMonitorMetricsDestination"] - performance_counters=None, # type: Optional[List["models.PerfCounterDataSource"]] - windows_event_logs=None, # type: Optional[List["models.WindowsEventLogDataSource"]] - syslog=None, # type: Optional[List["models.SyslogDataSource"]] - extensions=None, # type: Optional[List["models.ExtensionDataSource"]] - **kwargs # type: Any - ): - # type: (...) -> "models.DataCollectionRuleResource" - """Creates or updates a data collection rule. - - Creates or updates a data collection rule. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param data_collection_rule_name: The name of the data collection rule. The name is case - insensitive. - :type data_collection_rule_name: str - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param description: Description of the data collection rule. - :type description: str - :param data_flows: The specification of data flows. - :type data_flows: list[~$(python-base-namespace).v2019_11_01_preview.models.DataFlow] - :param log_analytics: List of Log Analytics destinations. - :type log_analytics: list[~$(python-base-namespace).v2019_11_01_preview.models.LogAnalyticsDestination] - :param azure_monitor_metrics: Azure Monitor Metrics destination. - :type azure_monitor_metrics: ~$(python-base-namespace).v2019_11_01_preview.models.AzureMonitorMetricsDestination - :param performance_counters: The list of performance counter data source configurations. - :type performance_counters: list[~$(python-base-namespace).v2019_11_01_preview.models.PerfCounterDataSource] - :param windows_event_logs: The list of Windows Event Log data source configurations. - :type windows_event_logs: list[~$(python-base-namespace).v2019_11_01_preview.models.WindowsEventLogDataSource] - :param syslog: The list of Syslog data source configurations. - :type syslog: list[~$(python-base-namespace).v2019_11_01_preview.models.SyslogDataSource] - :param extensions: The list of Azure VM extension data source configurations. - :type extensions: list[~$(python-base-namespace).v2019_11_01_preview.models.ExtensionDataSource] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - body = models.DataCollectionRuleResource(location=location, tags=tags, description=description, data_flows=data_flows, log_analytics=log_analytics, azure_monitor_metrics=azure_monitor_metrics, performance_counters=performance_counters, windows_event_logs=windows_event_logs, syslog=syslog, extensions=extensions) - api_version = "2019-11-01-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if body is not None: - body_content = self._serialize.body(body, 'DataCollectionRuleResource') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponseautogenerated, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - data_collection_rule_name, # type: str - tags=None, # type: Optional[Dict[str, str]] - **kwargs # type: Any - ): - # type: (...) -> "models.DataCollectionRuleResource" - """Updates part of a data collection rule. - - Updates part of a data collection rule. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param data_collection_rule_name: The name of the data collection rule. The name is case - insensitive. - :type data_collection_rule_name: str - :param tags: Resource tags. - :type tags: dict[str, str] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~$(python-base-namespace).v2019_11_01_preview.models.DataCollectionRuleResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - body = models.ResourceForUpdate(tags=tags) - api_version = "2019-11-01-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if body is not None: - body_content = self._serialize.body(body, 'ResourceForUpdate') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponseautogenerated, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - data_collection_rule_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a data collection rule. - - Deletes a data collection rule. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param data_collection_rule_name: The name of the data collection rule. The name is case - insensitive. - :type data_collection_rule_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-11-01-preview" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponseautogenerated, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}'} # type: ignore diff --git a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rules_operations.py b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rules_operations.py index bc468bda805..c67926e15f8 100644 --- a/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rules_operations.py +++ b/src/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rules_operations.py @@ -30,7 +30,7 @@ class DataCollectionRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.amcs.models + :type models: ~$(python-base-namespace).v2021_09_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResourceListResult"] @@ -67,7 +67,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -80,7 +80,7 @@ def prepare_request(next_link=None): url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -108,7 +108,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -130,7 +130,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataCollectionRuleResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.amcs.models.DataCollectionRuleResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResourceListResult"] @@ -138,7 +138,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -178,7 +178,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -207,7 +207,7 @@ def get( :type data_collection_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] @@ -215,14 +215,14 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -241,7 +241,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) @@ -270,10 +270,10 @@ def create( insensitive. :type data_collection_rule_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] @@ -281,7 +281,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ def create( url = self.create.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -315,7 +315,7 @@ def create( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -348,10 +348,10 @@ def update( insensitive. :type data_collection_rule_name: str :param body: The payload. - :type body: ~azure.mgmt.amcs.models.ResourceForUpdate + :type body: ~$(python-base-namespace).v2021_09_01_preview.models.ResourceForUpdate :keyword callable cls: A custom type or function that will be passed the direct response :return: DataCollectionRuleResource, or the result of cls(response) - :rtype: ~azure.mgmt.amcs.models.DataCollectionRuleResource + :rtype: ~$(python-base-namespace).v2021_09_01_preview.models.DataCollectionRuleResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataCollectionRuleResource"] @@ -359,7 +359,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -367,7 +367,7 @@ def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -393,7 +393,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('DataCollectionRuleResource', pipeline_response) @@ -430,14 +430,14 @@ def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01" + api_version = "2021-09-01-preview" accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'dataCollectionRuleName': self._serialize.url("data_collection_rule_name", data_collection_rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -456,7 +456,7 @@ def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize(models.ErrorResponseCommonV2, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: diff --git a/src/monitor-control-service/gen.zip b/src/monitor-control-service/gen.zip index 5baa5297f9cf850c8aaf6d9f190d4f20dbe26ddb..ade237621e3f56f37a9cc2970bd736baf99520cd 100644 GIT binary patch delta 1445 zcmb7EOH30{6rGv=KM$4dajV9}n3xz%WZ_a5zM-9&3T5F;Uf#TO@0|NPGoOanf!&mX zFj{YognhTCzB1cW_uUMmtPsO6(lxY5L@5==GX!CRXJkp)XSQC|a@N6gBAZF334Guh ztVlhKI}g>W2N7S+EQFLd;IJW4rNV*&!>Y{%n+A_vrCAA3s1BM<7ur<_cg-QvHJZdk zNJvBy;u%>+agxlW1(gdXjlFt2nYwE6^qhPS0lpc|{TJ`5smG-T5f$EOMPd(3n@{Pj z2vrMuSlWs@jUs_$L{J5epVdeA_Fx)5bK`}m;R*{;!yH&lugzNgBt7yp?0SK-yk*P7 z^}ut%0h|Rxv%}+6TGpYrtV2x&o*KN4!P2~_xZp7t)|$*LZ1{%Zw{Nf^ z+-Dc)g%QbRMI1+IX+D`L4kqtDsEbJ#uf&&WTGtqbD@ugomFF(;?KE)*#Q8AP@ak?< zM=S9?w(_87sAI2g>@ST1s2>QPDscH@Fy?Q8oIieCsVISF1yM|F zBe3Q5X&+j&=y#SXaj);VltQhF|9SZ3X$NcI5jcVk5Dp#-{i~^g7mwFCswHJv=}I9Y zb&^H0yiyQ@-&y$BV!u)8??qipml)h%iD*$uWo0B{g0i?XyEHMva&^r9idH!p=0vZ? qdSK5l67uySc;DhYtz@>l0-fXLkY3Nkh{>#2Z1ny@i`}3$hWQIgM$&fx delta 34 kcmZ2FnendIhD7Df>)l>3imCommand `az monitor data-collection rule association list` + +##### Example +``` +az monitor data-collection rule association list --data-collection-endpoint-name "myDataCollectionEndpointName" \ +--resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--data-collection-endpoint-name**|string|The name of the data collection endpoint. The name is case insensitive.|data_collection_endpoint_name|dataCollectionEndpointName| + #### Command `az monitor data-collection rule association list` ##### Example diff --git a/src/monitor-control-service/setup.py b/src/monitor-control-service/setup.py index efbff42a818..13e510e0e44 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.2.0' +VERSION = '0.3.0' try: from azext_amcs.manual.version import VERSION except ImportError: @@ -48,7 +48,7 @@ description='Microsoft Azure Command-Line Tools MonitorClient Extension', author='Microsoft Corporation', author_email='azpycli@microsoft.com', - url='https://github.com/Azure/azure-cli-extensions/tree/main/src/monitor-control-service', + url='https://github.com/Azure/azure-cli-extensions/tree/master/src/monitor-control-service', long_description=README + '\n\n' + HISTORY, license='MIT', classifiers=CLASSIFIERS, From 92b4ab09e60273172a4d96d66089568e21b9b5d7 Mon Sep 17 00:00:00 2001 From: Zeng Taoxu Date: Thu, 21 Apr 2022 10:02:27 +0800 Subject: [PATCH 2/6] update --- .../azext_amcs/generated/_params.py | 2 +- .../azext_amcs/manual/_help.py | 2 +- ...test_monitor_control_service_Scenario.yaml | 572 ++++++++++-------- 3 files changed, 338 insertions(+), 238 deletions(-) diff --git a/src/monitor-control-service/azext_amcs/generated/_params.py b/src/monitor-control-service/azext_amcs/generated/_params.py index f00ce192414..d04af64806c 100644 --- a/src/monitor-control-service/azext_amcs/generated/_params.py +++ b/src/monitor-control-service/azext_amcs/generated/_params.py @@ -32,7 +32,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('data_collection_rule_name', options_list=['--rule-name'], type=str, help='The name of the data ' 'collection rule. The name is case insensitive.') - c.argument('data_collection_endpoint_name', type=str, help='The name of the data collection endpoint. The name ' + c.argument('data_collection_endpoint_name', options_list=['--endpoint-name'], type=str, help='The name of the data collection endpoint. The name ' 'is case insensitive.') c.argument('resource_uri', options_list=['--resource'], type=str, help='The identifier of the resource.') diff --git a/src/monitor-control-service/azext_amcs/manual/_help.py b/src/monitor-control-service/azext_amcs/manual/_help.py index 8fbfdad1729..da37ed54af9 100644 --- a/src/monitor-control-service/azext_amcs/manual/_help.py +++ b/src/monitor-control-service/azext_amcs/manual/_help.py @@ -165,7 +165,7 @@ type: command short-summary: "Create a data collection rule." parameters: - - name: --rule-file + - name: --rule-file short-summary: "The json file for rule parameters." examples: - name: Create data collection rule diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml index 2f4569bdf32..f76267b8c5c 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml @@ -25,17 +25,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"4dbc197d-9776-4845-8c85-96db7ec6b21e\",\r\n \"provisioningState\": \"Creating\",\r\n + \"14b32185-0be5-40b9-bc21-ac835ed7aa85\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:58:42 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:54:43 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\": \"Thu, 21 Apr 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Wed, 20 Apr 2022 10:58:42 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr - 2022 10:58:42 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 01:54:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 01:54:43 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}" headers: @@ -46,7 +46,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 10:58:43 GMT + - Thu, 21 Apr 2022 01:54:44 GMT pragma: - no-cache server: @@ -57,7 +57,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -84,17 +84,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"4dbc197d-9776-4845-8c85-96db7ec6b21e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"14b32185-0be5-40b9-bc21-ac835ed7aa85\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:58:42 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:54:43 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\": \"Thu, 21 Apr 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Wed, 20 Apr 2022 10:58:42 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr - 2022 10:58:43 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 01:54:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 01:54:45 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}" headers: @@ -105,7 +105,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 10:59:14 GMT + - Thu, 21 Apr 2022 01:55:14 GMT pragma: - no-cache server: @@ -151,17 +151,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"1604fb14-a6e1-4170-9f7f-fa3b901aa94c\",\r\n \"provisioningState\": \"Creating\",\r\n + \"cbb6af46-844d-42fc-8000-c255b3471314\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:21 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:55:24 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, 20 Apr 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Wed, 20 Apr 2022 10:59:21 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr - 2022 10:59:21 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 01:55:24 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 01:55:24 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}" headers: @@ -172,7 +172,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 10:59:21 GMT + - Thu, 21 Apr 2022 01:55:25 GMT pragma: - no-cache server: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -210,17 +210,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"1604fb14-a6e1-4170-9f7f-fa3b901aa94c\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"cbb6af46-844d-42fc-8000-c255b3471314\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:21 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:55:24 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, 20 Apr 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Wed, 20 Apr 2022 10:59:21 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr - 2022 10:59:21 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 01:55:24 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 01:55:26 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}" headers: @@ -231,7 +231,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 10:59:52 GMT + - Thu, 21 Apr 2022 01:55:55 GMT pragma: - no-cache server: @@ -277,17 +277,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"eec63674-5cff-48cc-ae79-4f74c2d911d0\",\r\n \"provisioningState\": \"Creating\",\r\n + \"80891b78-0350-4a70-a417-d6c7281ba83c\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:57 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:56:06 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, 20 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Fri, 22 Apr 2022 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Wed, 20 Apr 2022 10:59:57 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr - 2022 10:59:57 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 01:56:06 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 01:56:06 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}" headers: @@ -298,7 +298,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 10:59:57 GMT + - Thu, 21 Apr 2022 01:56:08 GMT pragma: - no-cache server: @@ -309,7 +309,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -336,17 +336,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"eec63674-5cff-48cc-ae79-4f74c2d911d0\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"80891b78-0350-4a70-a417-d6c7281ba83c\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Wed, 20 Apr 2022 10:59:57 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:56:06 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, 20 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Fri, 22 Apr 2022 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Wed, 20 Apr 2022 10:59:57 GMT\",\r\n \"modifiedDate\": \"Wed, 20 Apr - 2022 10:59:58 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 01:56:06 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 01:56:07 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}" headers: @@ -357,7 +357,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 11:00:28 GMT + - Thu, 21 Apr 2022 01:56:38 GMT pragma: - no-cache server: @@ -396,7 +396,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-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":"2022-04-20T10:58:35Z"},"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","date":"2022-04-21T01:54:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -405,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:00:29 GMT + - Thu, 21 Apr 2022 01:56:39 GMT expires: - '-1' pragma: @@ -419,6 +419,106 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.26.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/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 },\n + \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": + \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n + \ \"sku\": \"42.3\",\n \"version\": \"latest\"\n },\n + \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": + \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n + \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n + \ \"offer\": \"SLES\",\n \"sku\": \"15\",\n \"version\": + \"latest\"\n },\n \"UbuntuLTS\": {\n \"publisher\": + \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": + \"18.04-LTS\",\n \"version\": \"latest\"\n }\n },\n + \ \"Windows\": {\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n + \ \"version\": \"latest\"\n }\n }\n }\n }\n + \ }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2525' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Thu, 21 Apr 2022 01:56:40 GMT + etag: + - W/"54bceef15b892f2aa7f4c2145a49f1b5e33608722acdbb47933d7b6cbebbd7f4" + expires: + - Thu, 21 Apr 2022 02:01:40 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - MISS + x-cache-hits: + - '0' + x-content-type-options: + - nosniff + x-fastly-request-id: + - b6ea9eef5e536af903c03ca33052f2723372dd4d + x-frame-options: + - deny + x-github-request-id: + - 7C2A:5F17:4A426:70B64:6260B8A4 + x-served-by: + - cache-qpg1263-QPG + x-timer: + - S1650506200.428688,VS0,VE227 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: @@ -447,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:00:49 GMT + - Thu, 21 Apr 2022 01:56:41 GMT expires: - '-1' pragma: @@ -515,10 +615,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V","name":"vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10929778468346485361","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-20T11:00:55.4348924Z","duration":"PT0.000658S","correlationId":"17f03278-16a8-4b3b-8a63-b1f3aacb56e7","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_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","name":"vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16481293983491106010","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T01:56:47.980896Z","duration":"PT0.0008871S","correlationId":"2e7f9f99-e756-498b-b400-8adca2ce9eff","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_s1Z5x68vDY8VEngZan71rIVZncqKa32V/operationStatuses/08585511544325673185?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw/operationStatuses/08585511006797951875?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -526,7 +626,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:00:56 GMT + - Thu, 21 Apr 2022 01:56:48 GMT expires: - '-1' pragma: @@ -556,7 +656,7 @@ interactions: User-Agent: - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585511544325673185?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/08585511006797951875?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -568,7 +668,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:01:26 GMT + - Thu, 21 Apr 2022 01:57:19 GMT expires: - '-1' pragma: @@ -598,7 +698,7 @@ interactions: User-Agent: - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585511544325673185?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/08585511006797951875?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -610,7 +710,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:01:56 GMT + - Thu, 21 Apr 2022 01:57:49 GMT expires: - '-1' pragma: @@ -643,7 +743,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V","name":"vm_deploy_s1Z5x68vDY8VEngZan71rIVZncqKa32V","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10929778468346485361","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-20T11:01:30.7671473Z","duration":"PT35.3329129S","correlationId":"17f03278-16a8-4b3b-8a63-b1f3aacb56e7","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_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","name":"vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16481293983491106010","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T01:57:35.4471736Z","duration":"PT47.4671647S","correlationId":"2e7f9f99-e756-498b-b400-8adca2ce9eff","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 @@ -652,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:01:57 GMT + - Thu, 21 Apr 2022 01:57:49 GMT expires: - '-1' pragma: @@ -687,16 +787,16 @@ interactions: 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\": \"124f6ead-e248-41c1-b517-d3c277c75f0c\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"bb5b634a-54e1-40e7-a01e-0758bb6e9755\",\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.202204190\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_fd6bba2c113c476e96ddf493997f0b50\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_2f790bbdc7b345bab064da8cd64f17a0\",\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_fd6bba2c113c476e96ddf493997f0b50\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_2f790bbdc7b345bab064da8cd64f17a0\"\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 @@ -712,15 +812,15 @@ interactions: [\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\": - \"2022-04-20T11:01:36+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_fd6bba2c113c476e96ddf493997f0b50\",\r\n + \"2022-04-21T01:57:50+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_2f790bbdc7b345bab064da8cd64f17a0\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-04-20T11:01:13.0188846+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T01:57:19.4608848+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\": \"2022-04-20T11:01:26.0976054+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T01:57:32.0702855+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 }\r\n}" @@ -732,7 +832,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:01:58 GMT + - Thu, 21 Apr 2022 01:57:51 GMT expires: - '-1' pragma: @@ -749,7 +849,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31955 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 status: code: 200 message: OK @@ -773,12 +873,12 @@ interactions: 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/\\\"58ed358d-0016-4d04-8e6f-e9e36e5493b6\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"a42e1eab-9a93-4357-bf0c-3b44c26381fc\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"89d04a26-c382-46a9-9ee5-84c68135f082\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"453b5828-1dfb-4a01-8170-45afaeee80b3\",\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/\\\"58ed358d-0016-4d04-8e6f-e9e36e5493b6\\\"\",\r\n + \ \"etag\": \"W/\\\"a42e1eab-9a93-4357-bf0c-3b44c26381fc\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -787,8 +887,8 @@ interactions: \ },\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\": - \"3qxflr300wruhewqmtnkl2oeva.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-04-46-2A\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"bcc3h2aggz3ebedxfox30or1jc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-32-F8-4E\",\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 @@ -801,9 +901,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:00 GMT + - Thu, 21 Apr 2022 01:57:53 GMT etag: - - W/"58ed358d-0016-4d04-8e6f-e9e36e5493b6" + - W/"a42e1eab-9a93-4357-bf0c-3b44c26381fc" expires: - '-1' pragma: @@ -820,7 +920,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 95de4faa-96ed-4b11-a348-a0b001e7fce2 + - fea9f31b-48ef-40d3-a5a8-ae8db72d1a97 status: code: 200 message: OK @@ -844,11 +944,11 @@ interactions: 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/\\\"baa5400e-c024-4cf7-9f38-13b8edb82a58\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"0faa813c-b405-40a5-831c-22dece400436\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"01ef944c-d05f-4b5e-9d4e-da13fe32f957\",\r\n - \ \"ipAddress\": \"13.93.138.218\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"3b6a6b21-7d74-4944-8438-0e44c0274908\",\r\n + \ \"ipAddress\": \"40.112.179.243\",\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 }\r\n}" @@ -856,13 +956,13 @@ interactions: cache-control: - no-cache content-length: - - '873' + - '874' content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:00 GMT + - Thu, 21 Apr 2022 01:57:53 GMT etag: - - W/"baa5400e-c024-4cf7-9f38-13b8edb82a58" + - W/"0faa813c-b405-40a5-831c-22dece400436" expires: - '-1' pragma: @@ -879,7 +979,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - db7782e7-674c-4bb0-bd22-47d227d680ff + - 328ef0a1-76c9-43a3-9682-d7f0eb998271 status: code: 200 message: OK @@ -911,8 +1011,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -923,7 +1023,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:06 GMT + - Thu, 21 Apr 2022 01:57:58 GMT expires: - '-1' pragma: @@ -941,7 +1041,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -964,8 +1064,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -976,7 +1076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:09 GMT + - Thu, 21 Apr 2022 01:58:00 GMT expires: - '-1' pragma: @@ -1015,8 +1115,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1027,7 +1127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:10 GMT + - Thu, 21 Apr 2022 01:58:02 GMT expires: - '-1' pragma: @@ -1064,8 +1164,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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 @@ -1074,7 +1174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:11 GMT + - Thu, 21 Apr 2022 01:58:04 GMT expires: - '-1' pragma: @@ -1086,8 +1186,8 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - ff14a10d-7675-4d77-948f-a188a3b73261 - - 9e0fae7f-0be3-4595-a165-5e13a8652d51 + - 07449095-865c-40e7-acb0-9b2c49e385c2 + - 9d5e29f8-e15a-4663-b4a5-72ce3538d2e3 status: code: 200 message: OK @@ -1110,8 +1210,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030055f4-0000-0100-0000-625fe82d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:04.6300468Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1122,7 +1222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:13 GMT + - Thu, 21 Apr 2022 01:58:06 GMT expires: - '-1' pragma: @@ -1170,8 +1270,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030080f4-0000-0100-0000-625fe8360000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:14.4419801Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800457e-0000-0100-0000-6260ba310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:09.0865763Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1182,7 +1282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:16 GMT + - Thu, 21 Apr 2022 01:58:12 GMT expires: - '-1' pragma: @@ -1200,7 +1300,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -1223,8 +1323,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030080f4-0000-0100-0000-625fe8360000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:14.4419801Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800457e-0000-0100-0000-6260ba310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:09.0865763Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1235,7 +1335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:17 GMT + - Thu, 21 Apr 2022 01:58:14 GMT expires: - '-1' pragma: @@ -1284,8 +1384,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1296,7 +1396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:18 GMT + - Thu, 21 Apr 2022 01:58:16 GMT expires: - '-1' pragma: @@ -1314,7 +1414,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -1337,8 +1437,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1349,7 +1449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:20 GMT + - Thu, 21 Apr 2022 01:58:17 GMT expires: - '-1' pragma: @@ -1388,8 +1488,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1400,7 +1500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:22 GMT + - Thu, 21 Apr 2022 01:58:18 GMT expires: - '-1' pragma: @@ -1439,8 +1539,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030094f4-0000-0100-0000-625fe83b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:18.6989505Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1451,7 +1551,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:23 GMT + - Thu, 21 Apr 2022 01:58:21 GMT expires: - '-1' pragma: @@ -1500,19 +1600,19 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"eec63674-5cff-48cc-ae79-4f74c2d911d0","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":"\"0300aff4-0000-0100-0000-625fe8400000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:24.3477312Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"80891b78-0350-4a70-a417-d6c7281ba83c","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":"\"0800927e-0000-0100-0000-6260ba3e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:21.639889Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:24 GMT + - Thu, 21 Apr 2022 01:58:22 GMT expires: - '-1' pragma: @@ -1530,7 +1630,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '147' + - '149' status: code: 200 message: OK @@ -1553,19 +1653,19 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"eec63674-5cff-48cc-ae79-4f74c2d911d0","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":"\"0300aff4-0000-0100-0000-625fe8400000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:24.3477312Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"80891b78-0350-4a70-a417-d6c7281ba83c","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":"\"0800927e-0000-0100-0000-6260ba3e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:21.639889Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:26 GMT + - Thu, 21 Apr 2022 01:58:23 GMT expires: - '-1' pragma: @@ -1613,8 +1713,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"0300bcf4-0000-0100-0000-625fe8430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:27.6216682Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800a17e-0000-0100-0000-6260ba410000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:24.9276033Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1625,7 +1725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:27 GMT + - Thu, 21 Apr 2022 01:58:24 GMT expires: - '-1' pragma: @@ -1643,7 +1743,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '147' + - '149' status: code: 200 message: OK @@ -1667,8 +1767,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"0300bcf4-0000-0100-0000-625fe8430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:27.6216682Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800a17e-0000-0100-0000-6260ba410000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:24.9276033Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1679,7 +1779,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:31 GMT + - Thu, 21 Apr 2022 01:58:26 GMT expires: - '-1' pragma: @@ -1730,9 +1830,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' + 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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1743,7 +1843,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:32 GMT + - Thu, 21 Apr 2022 01:58:26 GMT expires: - '-1' pragma: @@ -1761,7 +1861,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '147' + - '148' status: code: 200 message: OK @@ -1784,9 +1884,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' + 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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1797,7 +1897,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:33 GMT + - Thu, 21 Apr 2022 01:58:29 GMT expires: - '-1' pragma: @@ -1836,9 +1936,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' + 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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1849,7 +1949,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:34 GMT + - Thu, 21 Apr 2022 01:58:31 GMT expires: - '-1' pragma: @@ -1888,9 +1988,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300d4f4-0000-0100-0000-625fe8480000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:32.3793544Z"}}' + 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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1901,7 +2001,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:36 GMT + - Thu, 21 Apr 2022 01:58:32 GMT expires: - '-1' pragma: @@ -1951,9 +2051,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300e6f4-0000-0100-0000-625fe84d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:37.0845489Z"}}' + 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":"\"0800c57e-0000-0100-0000-6260ba490000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:33.0061642Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1964,7 +2064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:37 GMT + - Thu, 21 Apr 2022 01:58:33 GMT expires: - '-1' pragma: @@ -2005,9 +2105,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300e6f4-0000-0100-0000-625fe84d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:37.0845489Z"}}' + 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":"\"0800c57e-0000-0100-0000-6260ba490000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:33.0061642Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2018,7 +2118,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:37 GMT + - Thu, 21 Apr 2022 01:58:35 GMT expires: - '-1' pragma: @@ -2066,8 +2166,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"0300f0f4-0000-0100-0000-625fe84f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:38.8631494Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800d27e-0000-0100-0000-6260ba4c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:35.7436867Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2078,7 +2178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:38 GMT + - Thu, 21 Apr 2022 01:58:36 GMT expires: - '-1' pragma: @@ -2119,8 +2219,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"0300f0f4-0000-0100-0000-625fe84f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:38.8631494Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800d27e-0000-0100-0000-6260ba4c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:35.7436867Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2131,7 +2231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:39 GMT + - Thu, 21 Apr 2022 01:58:38 GMT expires: - '-1' pragma: @@ -2182,10 +2282,10 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' + = 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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2196,7 +2296,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:40 GMT + - Thu, 21 Apr 2022 01:58:39 GMT expires: - '-1' pragma: @@ -2214,7 +2314,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '146' + - '149' status: code: 200 message: OK @@ -2237,10 +2337,10 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' + = 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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2251,7 +2351,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:40 GMT + - Thu, 21 Apr 2022 01:58:39 GMT expires: - '-1' pragma: @@ -2290,10 +2390,10 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' + = 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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2304,7 +2404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:42 GMT + - Thu, 21 Apr 2022 01:58:42 GMT expires: - '-1' pragma: @@ -2343,10 +2443,10 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0300f4f4-0000-0100-0000-625fe8500000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:40.3072476Z"}}' + = 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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2357,7 +2457,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:43 GMT + - Thu, 21 Apr 2022 01:58:43 GMT expires: - '-1' pragma: @@ -2407,9 +2507,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"030008f5-0000-0100-0000-625fe8530000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:43.6505169Z"}}' + = 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":"\"0800fe7e-0000-0100-0000-6260ba540000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:44.6880797Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2420,7 +2520,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:43 GMT + - Thu, 21 Apr 2022 01:58:44 GMT expires: - '-1' pragma: @@ -2438,7 +2538,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '146' + - '149' status: code: 200 message: OK @@ -2461,9 +2561,9 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"030008f5-0000-0100-0000-625fe8530000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:43.6505169Z"}}' + = 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":"\"0800fe7e-0000-0100-0000-6260ba540000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:44.6880797Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2474,7 +2574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:44 GMT + - Thu, 21 Apr 2022 01:58:46 GMT expires: - '-1' pragma: @@ -2522,8 +2622,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030014f5-0000-0100-0000-625fe8550000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:45.2720147Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800167f-0000-0100-0000-6260ba580000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:47.8942129Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2534,7 +2634,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:45 GMT + - Thu, 21 Apr 2022 01:58:47 GMT expires: - '-1' pragma: @@ -2552,7 +2652,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '147' + - '149' status: code: 200 message: OK @@ -2575,8 +2675,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030014f5-0000-0100-0000-625fe8550000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:45.2720147Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800167f-0000-0100-0000-6260ba580000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:47.8942129Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2587,7 +2687,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:46 GMT + - Thu, 21 Apr 2022 01:58:49 GMT expires: - '-1' pragma: @@ -2637,8 +2737,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2649,7 +2749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:46 GMT + - Thu, 21 Apr 2022 01:58:50 GMT expires: - '-1' pragma: @@ -2690,8 +2790,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2702,7 +2802,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:48 GMT + - Thu, 21 Apr 2022 01:58:50 GMT expires: - '-1' pragma: @@ -2741,8 +2841,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2753,7 +2853,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:48 GMT + - Thu, 21 Apr 2022 01:58:51 GMT expires: - '-1' pragma: @@ -2792,8 +2892,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030020f5-0000-0100-0000-625fe8570000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:46.8924623Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2804,7 +2904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:50 GMT + - Thu, 21 Apr 2022 01:58:52 GMT expires: - '-1' pragma: @@ -2854,8 +2954,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"03002cf5-0000-0100-0000-625fe85a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:50.4388738Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800377f-0000-0100-0000-6260ba5d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:53.3743424Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2866,7 +2966,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:50 GMT + - Thu, 21 Apr 2022 01:58:53 GMT expires: - '-1' pragma: @@ -2884,7 +2984,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '145' + - '148' status: code: 200 message: OK @@ -2907,8 +3007,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"03002cf5-0000-0100-0000-625fe85a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:50.4388738Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800377f-0000-0100-0000-6260ba5d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:53.3743424Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2919,7 +3019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:51 GMT + - Thu, 21 Apr 2022 01:58:55 GMT expires: - '-1' pragma: @@ -2967,8 +3067,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030034f5-0000-0100-0000-625fe85c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:52.1165806Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800497f-0000-0100-0000-6260ba600000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:56.2311024Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2979,7 +3079,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:51 GMT + - Thu, 21 Apr 2022 01:58:55 GMT expires: - '-1' pragma: @@ -2997,7 +3097,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '147' + - '149' status: code: 200 message: OK @@ -3020,8 +3120,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"\"030034f5-0000-0100-0000-625fe85c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:52.1165806Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"\"0800497f-0000-0100-0000-6260ba600000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:56.2311024Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3032,7 +3132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:52 GMT + - Thu, 21 Apr 2022 01:58:57 GMT expires: - '-1' pragma: @@ -3081,8 +3181,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"03003ff5-0000-0100-0000-625fe85e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:53.9475778Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800597f-0000-0100-0000-6260ba620000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:57.9812503Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3093,7 +3193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:54 GMT + - Thu, 21 Apr 2022 01:58:58 GMT expires: - '-1' pragma: @@ -3111,7 +3211,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '146' + - '149' status: code: 200 message: OK @@ -3134,8 +3234,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"03003ff5-0000-0100-0000-625fe85e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:53.9475778Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800597f-0000-0100-0000-6260ba620000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:57.9812503Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3146,7 +3246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:02:54 GMT + - Thu, 21 Apr 2022 01:59:00 GMT expires: - '-1' pragma: @@ -3196,8 +3296,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030067f5-0000-0100-0000-625fe8630000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:55.9841458Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"08006a7f-0000-0100-0000-6260ba660000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:01.1232246Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3208,7 +3308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:00 GMT + - Thu, 21 Apr 2022 01:59:02 GMT expires: - '-1' pragma: @@ -3226,7 +3326,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '145' + - '149' status: code: 200 message: OK @@ -3249,8 +3349,8 @@ interactions: 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-1889618fc8134dbb8cda2d40d072e421","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":"1604fb14-a6e1-4170-9f7f-fa3b901aa94c","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":"\"030067f5-0000-0100-0000-625fe8630000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:02:04.6300468Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:02:55.9841458Z"}}' + string: '{"properties":{"immutableId":"dcr-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"08006a7f-0000-0100-0000-6260ba660000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:01.1232246Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3261,7 +3361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:00 GMT + - Thu, 21 Apr 2022 01:59:04 GMT expires: - '-1' pragma: @@ -3304,7 +3404,7 @@ interactions: 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}' + 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3315,7 +3415,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:03 GMT + - Thu, 21 Apr 2022 01:59:08 GMT expires: - '-1' pragma: @@ -3356,7 +3456,7 @@ interactions: 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}' + 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3367,7 +3467,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:05 GMT + - Thu, 21 Apr 2022 01:59:10 GMT expires: - '-1' pragma: @@ -3417,7 +3517,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:06 GMT + - Thu, 21 Apr 2022 01:59:11 GMT expires: - '-1' pragma: @@ -3456,7 +3556,7 @@ interactions: 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}],"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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3467,7 +3567,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:08 GMT + - Thu, 21 Apr 2022 01:59:13 GMT expires: - '-1' pragma: @@ -3506,7 +3606,7 @@ interactions: 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":"\"c002d1d4-0000-0700-0000-625fe8670000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:01.5999423Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:01.5999423Z"}}' + 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3517,7 +3617,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:09 GMT + - Thu, 21 Apr 2022 01:59:15 GMT expires: - '-1' pragma: @@ -3561,7 +3661,7 @@ interactions: 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":"\"c00259d6-0000-0700-0000-625fe86e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T11:03:10.6468068Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T11:03:10.6468068Z"}}' + 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":"\"0000f20e-0000-0700-0000-6260ba740000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:16.1012022Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:16.1012022Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3572,7 +3672,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 11:03:10 GMT + - Thu, 21 Apr 2022 01:59:16 GMT expires: - '-1' pragma: @@ -3624,7 +3724,7 @@ interactions: content-length: - '0' date: - - Wed, 20 Apr 2022 11:03:13 GMT + - Thu, 21 Apr 2022 01:59:20 GMT expires: - '-1' pragma: @@ -3672,7 +3772,7 @@ interactions: content-length: - '0' date: - - Wed, 20 Apr 2022 11:03:21 GMT + - Thu, 21 Apr 2022 01:59:28 GMT expires: - '-1' pragma: @@ -3686,7 +3786,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK From 10e28b6f1846b856a009d809d7024db988a8710a Mon Sep 17 00:00:00 2001 From: Zeng Taoxu Date: Thu, 21 Apr 2022 14:22:00 +0800 Subject: [PATCH 3/6] update --- ...test_monitor_control_service_Scenario.yaml | 486 +++++++++--------- .../test_monitor_control_service_scenario.py | 2 +- src/monitor-control-service/gen.zip | Bin 18853 -> 0 bytes src/monitor-control-service/report.md | 198 ------- 4 files changed, 244 insertions(+), 442 deletions(-) delete mode 100644 src/monitor-control-service/gen.zip delete mode 100644 src/monitor-control-service/report.md diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml index f76267b8c5c..b8c1c801989 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml @@ -25,17 +25,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"14b32185-0be5-40b9-bc21-ac835ed7aa85\",\r\n \"provisioningState\": \"Creating\",\r\n + \"0668f42b-603a-4260-8fb8-0c9f023bb7f4\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:54:43 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:08 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\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 01:54:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 01:54:43 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 06:12:08 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:12:08 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}" headers: @@ -46,7 +46,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 01:54:44 GMT + - Thu, 21 Apr 2022 06:12:08 GMT pragma: - no-cache server: @@ -84,17 +84,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"14b32185-0be5-40b9-bc21-ac835ed7aa85\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"0668f42b-603a-4260-8fb8-0c9f023bb7f4\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:54:43 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:08 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\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 01:54:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 01:54:45 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 06:12:08 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:12:09 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}" headers: @@ -105,7 +105,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 01:55:14 GMT + - Thu, 21 Apr 2022 06:12:39 GMT pragma: - no-cache server: @@ -151,17 +151,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"cbb6af46-844d-42fc-8000-c255b3471314\",\r\n \"provisioningState\": \"Creating\",\r\n + \"788843d7-578a-49f7-9082-57cae8b8d7f9\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:55:24 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:48 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\": \"Thu, 21 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 16:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 01:55:24 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 01:55:24 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 06:12:48 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:12:48 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}" headers: @@ -172,7 +172,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 01:55:25 GMT + - Thu, 21 Apr 2022 06:12:48 GMT pragma: - no-cache server: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -210,17 +210,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"cbb6af46-844d-42fc-8000-c255b3471314\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"788843d7-578a-49f7-9082-57cae8b8d7f9\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:55:24 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:48 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\": \"Thu, 21 Apr 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 16:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 01:55:24 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 01:55:26 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 06:12:48 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:12: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}" headers: @@ -231,7 +231,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 01:55:55 GMT + - Thu, 21 Apr 2022 06:13:18 GMT pragma: - no-cache server: @@ -277,17 +277,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"80891b78-0350-4a70-a417-d6c7281ba83c\",\r\n \"provisioningState\": \"Creating\",\r\n + \"dcf3c176-ccc1-49a2-936d-5fc44622c15a\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:56:06 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:13:27 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\": \"Fri, 22 Apr 2022 01:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 01:56:06 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 01:56:06 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 06:13:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:13:27 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}" headers: @@ -298,7 +298,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 01:56:08 GMT + - Thu, 21 Apr 2022 06:13:28 GMT pragma: - no-cache server: @@ -336,17 +336,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"80891b78-0350-4a70-a417-d6c7281ba83c\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"dcf3c176-ccc1-49a2-936d-5fc44622c15a\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 01:56:06 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:13:27 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\": \"Fri, 22 Apr 2022 01:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 01:56:06 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 01:56:07 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 06:13:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:13:28 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}" headers: @@ -357,7 +357,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 01:56:38 GMT + - Thu, 21 Apr 2022 06:13:59 GMT pragma: - no-cache server: @@ -396,7 +396,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-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":"2022-04-21T01:54:28Z"},"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","date":"2022-04-21T06:11:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -405,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:56:39 GMT + - Thu, 21 Apr 2022 06:14:00 GMT expires: - '-1' pragma: @@ -485,11 +485,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 21 Apr 2022 01:56:40 GMT + - Thu, 21 Apr 2022 06:14:02 GMT etag: - W/"54bceef15b892f2aa7f4c2145a49f1b5e33608722acdbb47933d7b6cbebbd7f4" expires: - - Thu, 21 Apr 2022 02:01:40 GMT + - Thu, 21 Apr 2022 06:19:02 GMT source-age: - '0' strict-transport-security: @@ -499,21 +499,21 @@ interactions: via: - 1.1 varnish x-cache: - - MISS + - HIT x-cache-hits: - - '0' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - b6ea9eef5e536af903c03ca33052f2723372dd4d + - 1a55d9b09d28808dd3b541c0e97a76c325142fd1 x-frame-options: - deny x-github-request-id: - - 7C2A:5F17:4A426:70B64:6260B8A4 + - E4E0:6A70:82168:B1E1A:6260ECA9 x-served-by: - - cache-qpg1263-QPG + - cache-qpg1281-QPG x-timer: - - S1650506200.428688,VS0,VE227 + - S1650521642.578168,VS0,VE1026 x-xss-protection: - 1; mode=block status: @@ -547,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:56:41 GMT + - Thu, 21 Apr 2022 06:14:03 GMT expires: - '-1' pragma: @@ -615,18 +615,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","name":"vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16481293983491106010","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T01:56:47.980896Z","duration":"PT0.0008871S","correlationId":"2e7f9f99-e756-498b-b400-8adca2ce9eff","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_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","name":"vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10154410411518453611","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T06:14:09.5738607Z","duration":"PT0.0005179S","correlationId":"cb28d4f4-d68c-48a3-8c6e-1d25613006cc","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_HBt4YFG48v8rXme3eXo6JSiClovnKIaw/operationStatuses/08585511006797951875?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe/operationStatuses/08585510852386341205?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2347' + - '2348' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:56:48 GMT + - Thu, 21 Apr 2022 06:14:11 GMT expires: - '-1' pragma: @@ -656,7 +656,7 @@ interactions: User-Agent: - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585511006797951875?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/08585510852386341205?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -668,7 +668,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:19 GMT + - Thu, 21 Apr 2022 06:14:41 GMT expires: - '-1' pragma: @@ -698,7 +698,7 @@ interactions: User-Agent: - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585511006797951875?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/08585510852386341205?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -710,7 +710,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:49 GMT + - Thu, 21 Apr 2022 06:15:11 GMT expires: - '-1' pragma: @@ -743,7 +743,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","name":"vm_deploy_HBt4YFG48v8rXme3eXo6JSiClovnKIaw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16481293983491106010","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T01:57:35.4471736Z","duration":"PT47.4671647S","correlationId":"2e7f9f99-e756-498b-b400-8adca2ce9eff","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_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","name":"vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10154410411518453611","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T06:14:52.8637836Z","duration":"PT43.2904408S","correlationId":"cb28d4f4-d68c-48a3-8c6e-1d25613006cc","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 @@ -752,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:49 GMT + - Thu, 21 Apr 2022 06:15:12 GMT expires: - '-1' pragma: @@ -787,16 +787,16 @@ interactions: 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\": \"bb5b634a-54e1-40e7-a01e-0758bb6e9755\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"6037b025-0cb9-4f05-9e5d-6cfb96af5096\",\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.202204190\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_2f790bbdc7b345bab064da8cd64f17a0\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_c204e01b4de049318111887323411e8b\",\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_2f790bbdc7b345bab064da8cd64f17a0\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_c204e01b4de049318111887323411e8b\"\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 @@ -812,15 +812,15 @@ interactions: [\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\": - \"2022-04-21T01:57:50+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_2f790bbdc7b345bab064da8cd64f17a0\",\r\n + \"2022-04-21T06:14:59+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_c204e01b4de049318111887323411e8b\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-04-21T01:57:19.4608848+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T06:14:34.4407177+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\": \"2022-04-21T01:57:32.0702855+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T06:14:49.2844873+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 }\r\n}" @@ -832,7 +832,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:51 GMT + - Thu, 21 Apr 2022 06:15:13 GMT expires: - '-1' pragma: @@ -849,7 +849,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31990 status: code: 200 message: OK @@ -873,12 +873,12 @@ interactions: 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/\\\"a42e1eab-9a93-4357-bf0c-3b44c26381fc\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7f9593c3-9112-4cfc-b603-de6ae38811dd\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"453b5828-1dfb-4a01-8170-45afaeee80b3\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"16d6f5c3-d96e-4f4a-999c-33f47b821257\",\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/\\\"a42e1eab-9a93-4357-bf0c-3b44c26381fc\\\"\",\r\n + \ \"etag\": \"W/\\\"7f9593c3-9112-4cfc-b603-de6ae38811dd\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -887,8 +887,8 @@ interactions: \ },\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\": - \"bcc3h2aggz3ebedxfox30or1jc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-32-F8-4E\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"wtvykmpkf21ujmma4evfl2aibg.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-0A-FB-BC\",\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 @@ -901,9 +901,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:53 GMT + - Thu, 21 Apr 2022 06:15:14 GMT etag: - - W/"a42e1eab-9a93-4357-bf0c-3b44c26381fc" + - W/"7f9593c3-9112-4cfc-b603-de6ae38811dd" expires: - '-1' pragma: @@ -920,7 +920,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fea9f31b-48ef-40d3-a5a8-ae8db72d1a97 + - 80bf99a4-382b-45d6-a33a-cc5bb83fecc9 status: code: 200 message: OK @@ -944,11 +944,11 @@ interactions: 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/\\\"0faa813c-b405-40a5-831c-22dece400436\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"3e2a26f7-b846-4008-9686-3601ebbe5c4f\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"3b6a6b21-7d74-4944-8438-0e44c0274908\",\r\n - \ \"ipAddress\": \"40.112.179.243\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"03bcfaa5-cdaf-4639-aa36-42bd1c390c77\",\r\n + \ \"ipAddress\": \"168.62.20.243\",\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 }\r\n}" @@ -956,13 +956,13 @@ interactions: cache-control: - no-cache content-length: - - '874' + - '873' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:53 GMT + - Thu, 21 Apr 2022 06:15:14 GMT etag: - - W/"0faa813c-b405-40a5-831c-22dece400436" + - W/"3e2a26f7-b846-4008-9686-3601ebbe5c4f" expires: - '-1' pragma: @@ -979,7 +979,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 328ef0a1-76c9-43a3-9682-d7f0eb998271 + - 855a3f8b-e2b0-4cc2-8773-2ff436fca5f4 status: code: 200 message: OK @@ -1011,8 +1011,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1023,7 +1023,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:57:58 GMT + - Thu, 21 Apr 2022 06:15:27 GMT expires: - '-1' pragma: @@ -1064,8 +1064,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1076,7 +1076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:00 GMT + - Thu, 21 Apr 2022 06:15:29 GMT expires: - '-1' pragma: @@ -1115,8 +1115,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1127,7 +1127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:02 GMT + - Thu, 21 Apr 2022 06:15:31 GMT expires: - '-1' pragma: @@ -1164,8 +1164,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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 @@ -1174,7 +1174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:04 GMT + - Thu, 21 Apr 2022 06:15:33 GMT expires: - '-1' pragma: @@ -1186,8 +1186,8 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 07449095-865c-40e7-acb0-9b2c49e385c2 - - 9d5e29f8-e15a-4663-b4a5-72ce3538d2e3 + - 796428b2-18ce-44a1-8d04-488fa2f123a5 + - 09bd8a9e-1c20-4e88-9523-ea7e12697631 status: code: 200 message: OK @@ -1210,8 +1210,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800097e-0000-0100-0000-6260ba250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:57:56.0591082Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1222,7 +1222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:06 GMT + - Thu, 21 Apr 2022 06:15:36 GMT expires: - '-1' pragma: @@ -1270,8 +1270,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800457e-0000-0100-0000-6260ba310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:09.0865763Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090018d8-0000-0100-0000-6260f68b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:39.3785264Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1282,7 +1282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:12 GMT + - Thu, 21 Apr 2022 06:15:42 GMT expires: - '-1' pragma: @@ -1323,8 +1323,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800457e-0000-0100-0000-6260ba310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:09.0865763Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090018d8-0000-0100-0000-6260f68b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:39.3785264Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1335,7 +1335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:14 GMT + - Thu, 21 Apr 2022 06:15:44 GMT expires: - '-1' pragma: @@ -1384,8 +1384,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1396,7 +1396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:16 GMT + - Thu, 21 Apr 2022 06:15:46 GMT expires: - '-1' pragma: @@ -1437,8 +1437,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1449,7 +1449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:17 GMT + - Thu, 21 Apr 2022 06:15:48 GMT expires: - '-1' pragma: @@ -1488,8 +1488,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1500,7 +1500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:18 GMT + - Thu, 21 Apr 2022 06:15:50 GMT expires: - '-1' pragma: @@ -1539,8 +1539,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800697e-0000-0100-0000-6260ba370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:15.1682293Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1551,7 +1551,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:21 GMT + - Thu, 21 Apr 2022 06:15:52 GMT expires: - '-1' pragma: @@ -1600,19 +1600,19 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"80891b78-0350-4a70-a417-d6c7281ba83c","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":"\"0800927e-0000-0100-0000-6260ba3e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:21.639889Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"dcf3c176-ccc1-49a2-936d-5fc44622c15a","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":"\"090057d8-0000-0100-0000-6260f69a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:53.8825155Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:22 GMT + - Thu, 21 Apr 2022 06:15:54 GMT expires: - '-1' pragma: @@ -1653,19 +1653,19 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"80891b78-0350-4a70-a417-d6c7281ba83c","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":"\"0800927e-0000-0100-0000-6260ba3e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:21.639889Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"dcf3c176-ccc1-49a2-936d-5fc44622c15a","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":"\"090057d8-0000-0100-0000-6260f69a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:53.8825155Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1340' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:23 GMT + - Thu, 21 Apr 2022 06:15:57 GMT expires: - '-1' pragma: @@ -1713,8 +1713,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800a17e-0000-0100-0000-6260ba410000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:24.9276033Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09006fd8-0000-0100-0000-6260f69e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:57.8987724Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1725,7 +1725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:24 GMT + - Thu, 21 Apr 2022 06:15:58 GMT expires: - '-1' pragma: @@ -1767,8 +1767,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800a17e-0000-0100-0000-6260ba410000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:24.9276033Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09006fd8-0000-0100-0000-6260f69e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:57.8987724Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1779,7 +1779,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:26 GMT + - Thu, 21 Apr 2022 06:16:00 GMT expires: - '-1' pragma: @@ -1830,20 +1830,20 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' + 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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1267' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:26 GMT + - Thu, 21 Apr 2022 06:16:01 GMT expires: - '-1' pragma: @@ -1861,7 +1861,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -1884,20 +1884,20 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' + 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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1267' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:29 GMT + - Thu, 21 Apr 2022 06:16:02 GMT expires: - '-1' pragma: @@ -1936,20 +1936,20 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' + 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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1267' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:31 GMT + - Thu, 21 Apr 2022 06:16:04 GMT expires: - '-1' pragma: @@ -1988,20 +1988,20 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800aa7e-0000-0100-0000-6260ba430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:26.8715883Z"}}' + 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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1267' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:32 GMT + - Thu, 21 Apr 2022 06:16:06 GMT expires: - '-1' pragma: @@ -2051,9 +2051,9 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800c57e-0000-0100-0000-6260ba490000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:33.0061642Z"}}' + 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":"\"090097d8-0000-0100-0000-6260f6a70000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:07.6855167Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2064,7 +2064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:33 GMT + - Thu, 21 Apr 2022 06:16:07 GMT expires: - '-1' pragma: @@ -2105,9 +2105,9 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800c57e-0000-0100-0000-6260ba490000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:33.0061642Z"}}' + 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":"\"090097d8-0000-0100-0000-6260f6a70000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:07.6855167Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2118,7 +2118,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:35 GMT + - Thu, 21 Apr 2022 06:16:10 GMT expires: - '-1' pragma: @@ -2166,8 +2166,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800d27e-0000-0100-0000-6260ba4c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:35.7436867Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900abd8-0000-0100-0000-6260f6ab0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:10.9667092Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2178,7 +2178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:36 GMT + - Thu, 21 Apr 2022 06:16:11 GMT expires: - '-1' pragma: @@ -2219,8 +2219,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800d27e-0000-0100-0000-6260ba4c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:35.7436867Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900abd8-0000-0100-0000-6260f6ab0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:10.9667092Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2231,7 +2231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:38 GMT + - Thu, 21 Apr 2022 06:16:13 GMT expires: - '-1' pragma: @@ -2282,10 +2282,10 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' + = 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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2296,7 +2296,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:39 GMT + - Thu, 21 Apr 2022 06:16:13 GMT expires: - '-1' pragma: @@ -2337,10 +2337,10 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' + = 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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2351,7 +2351,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:39 GMT + - Thu, 21 Apr 2022 06:16:15 GMT expires: - '-1' pragma: @@ -2390,10 +2390,10 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' + = 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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2404,7 +2404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:42 GMT + - Thu, 21 Apr 2022 06:16:17 GMT expires: - '-1' pragma: @@ -2443,10 +2443,10 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800e17e-0000-0100-0000-6260ba4f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:38.9022254Z"}}' + = 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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2457,7 +2457,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:43 GMT + - Thu, 21 Apr 2022 06:16:20 GMT expires: - '-1' pragma: @@ -2507,9 +2507,9 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800fe7e-0000-0100-0000-6260ba540000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:44.6880797Z"}}' + = 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":"\"0900cfd8-0000-0100-0000-6260f6b40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:20.4285271Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2520,7 +2520,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:44 GMT + - Thu, 21 Apr 2022 06:16:20 GMT expires: - '-1' pragma: @@ -2561,9 +2561,9 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0800fe7e-0000-0100-0000-6260ba540000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:44.6880797Z"}}' + = 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":"\"0900cfd8-0000-0100-0000-6260f6b40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:20.4285271Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2574,7 +2574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:46 GMT + - Thu, 21 Apr 2022 06:16:21 GMT expires: - '-1' pragma: @@ -2622,19 +2622,19 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800167f-0000-0100-0000-6260ba580000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:47.8942129Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900d9d8-0000-0100-0000-6260f6b60000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:22.617132Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1115' + - '1114' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:47 GMT + - Thu, 21 Apr 2022 06:16:22 GMT expires: - '-1' pragma: @@ -2675,19 +2675,19 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800167f-0000-0100-0000-6260ba580000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:47.8942129Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900d9d8-0000-0100-0000-6260f6b60000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:22.617132Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1115' + - '1114' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:49 GMT + - Thu, 21 Apr 2022 06:16:23 GMT expires: - '-1' pragma: @@ -2737,8 +2737,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2749,7 +2749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:50 GMT + - Thu, 21 Apr 2022 06:16:23 GMT expires: - '-1' pragma: @@ -2767,7 +2767,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -2790,8 +2790,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2802,7 +2802,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:50 GMT + - Thu, 21 Apr 2022 06:16:26 GMT expires: - '-1' pragma: @@ -2841,8 +2841,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2853,7 +2853,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:51 GMT + - Thu, 21 Apr 2022 06:16:28 GMT expires: - '-1' pragma: @@ -2892,8 +2892,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800207f-0000-0100-0000-6260ba5a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:49.8505098Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2904,7 +2904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:52 GMT + - Thu, 21 Apr 2022 06:16:29 GMT expires: - '-1' pragma: @@ -2954,8 +2954,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800377f-0000-0100-0000-6260ba5d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:53.3743424Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09000dd9-0000-0100-0000-6260f6bf0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:30.9117881Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2966,7 +2966,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:53 GMT + - Thu, 21 Apr 2022 06:16:30 GMT expires: - '-1' pragma: @@ -2984,7 +2984,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -3007,8 +3007,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800377f-0000-0100-0000-6260ba5d0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:53.3743424Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09000dd9-0000-0100-0000-6260f6bf0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:30.9117881Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3019,7 +3019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:55 GMT + - Thu, 21 Apr 2022 06:16:33 GMT expires: - '-1' pragma: @@ -3067,8 +3067,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800497f-0000-0100-0000-6260ba600000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:56.2311024Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090016d9-0000-0100-0000-6260f6c20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:34.2093932Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3079,7 +3079,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:55 GMT + - Thu, 21 Apr 2022 06:16:34 GMT expires: - '-1' pragma: @@ -3120,8 +3120,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"\"0800497f-0000-0100-0000-6260ba600000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:56.2311024Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090016d9-0000-0100-0000-6260f6c20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:34.2093932Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3132,7 +3132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:57 GMT + - Thu, 21 Apr 2022 06:16:36 GMT expires: - '-1' pragma: @@ -3181,8 +3181,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800597f-0000-0100-0000-6260ba620000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:57.9812503Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"090022d9-0000-0100-0000-6260f6c50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:37.3288901Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3193,7 +3193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:58:58 GMT + - Thu, 21 Apr 2022 06:16:37 GMT expires: - '-1' pragma: @@ -3234,8 +3234,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"0800597f-0000-0100-0000-6260ba620000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:58:57.9812503Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"090022d9-0000-0100-0000-6260f6c50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:37.3288901Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3246,7 +3246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:00 GMT + - Thu, 21 Apr 2022 06:16:38 GMT expires: - '-1' pragma: @@ -3296,8 +3296,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"08006a7f-0000-0100-0000-6260ba660000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:01.1232246Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002fd9-0000-0100-0000-6260f6c80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:39.7498122Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3308,7 +3308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:02 GMT + - Thu, 21 Apr 2022 06:16:39 GMT expires: - '-1' pragma: @@ -3326,7 +3326,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -3349,8 +3349,8 @@ interactions: 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-d19fcb63d5274916ac5bb675f229801c","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":"cbb6af46-844d-42fc-8000-c255b3471314","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":"\"08006a7f-0000-0100-0000-6260ba660000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:57:56.0591082Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:01.1232246Z"}}' + string: '{"properties":{"immutableId":"dcr-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002fd9-0000-0100-0000-6260f6c80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:39.7498122Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3361,7 +3361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:04 GMT + - Thu, 21 Apr 2022 06:16:43 GMT expires: - '-1' pragma: @@ -3404,18 +3404,18 @@ interactions: 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}' + 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '772' + - '770' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:08 GMT + - Thu, 21 Apr 2022 06:16:46 GMT expires: - '-1' pragma: @@ -3456,18 +3456,18 @@ interactions: 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}' + 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '772' + - '770' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:10 GMT + - Thu, 21 Apr 2022 06:16:48 GMT expires: - '-1' pragma: @@ -3517,7 +3517,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:11 GMT + - Thu, 21 Apr 2022 06:16:50 GMT expires: - '-1' pragma: @@ -3556,18 +3556,18 @@ interactions: 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}],"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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '800' + - '798' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:13 GMT + - Thu, 21 Apr 2022 06:16:52 GMT expires: - '-1' pragma: @@ -3606,18 +3606,18 @@ interactions: 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":"\"0000f00e-0000-0700-0000-6260ba6c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:05.9323463Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:05.9323463Z"}}' + 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '772' + - '770' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:15 GMT + - Thu, 21 Apr 2022 06:16:54 GMT expires: - '-1' pragma: @@ -3661,7 +3661,7 @@ interactions: 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":"\"0000f20e-0000-0700-0000-6260ba740000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T01:59:16.1012022Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T01:59:16.1012022Z"}}' + 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":"\"0300b740-0000-0700-0000-6260f6d70000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:54.9981703Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:54.9981703Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3672,7 +3672,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 01:59:16 GMT + - Thu, 21 Apr 2022 06:16:54 GMT expires: - '-1' pragma: @@ -3724,7 +3724,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 01:59:20 GMT + - Thu, 21 Apr 2022 06:16:58 GMT expires: - '-1' pragma: @@ -3772,7 +3772,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 01:59:28 GMT + - Thu, 21 Apr 2022 06:17:04 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py b/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py index 26c36192b11..d47a35456c5 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py +++ b/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py @@ -494,7 +494,7 @@ class Monitor_control_serviceScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='clitestmonitor_control_service_myResourceGroup'[:7], key='rg', parameter_name='rg') - def test_monitor_control_service_Scenario(self, rg): + def test_monitor_control_service_scenario(self, rg): self.kwargs.update({ 'subscription_id': self.get_subscription_id() }) diff --git a/src/monitor-control-service/gen.zip b/src/monitor-control-service/gen.zip deleted file mode 100644 index ade237621e3f56f37a9cc2970bd736baf99520cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18853 zcmeHP&2QUA7FWL(jaqcKKwGqzVqhO61roKjgSs(lAco@xZQ{Ujj75PYAZThNv!O&{ zhH|U~J``=QJr(Gsw*~f4pr;<%TmP2=d)mVu7TC*P_C1nA4nJj5GVMBIz%b&>d-LYa zn>TOX{KDPaFTGr^;dSNilY8zz{J&m^>@>%n;Mcy zjr{M;ukQW#yW@9$c%xRsyO~2pkF}v~Qk6T@=88R8CY`xm^<}bU*%M|A4jt0eTV%)3 znZ>QX1Mit_G0icokwP|2lem>QVU$yLM0*O*-Z6AK;Dsy;keXu6R9426RM06lmyRB8k}CYmv>d zW9@-*L0+hM%d2QHly2)#8x1HYLv2EIZOkcf*Dc1d=>vMG9T^rQ+NejK7|^`~N=ys* z7=2ep9oZQi*f1J2k6h=b`%b-H?=x#i6onW=(6vJxHc^M#Xsnq~woJA^-`v@~v%OBb zH#JAwvP=_1hw<1Oo0NA4)al-$4(UM|(St(5ptOENV%4L4g2tm_O*O2kVojAFT2Gp2 zo^8SgZK5Ai{W0ITYmI1Yy-wf)g?KMP9R%Ndud&E~zd;^6a;qX6MIZK>4ecozS|h^& z4P&dFuvJ$+f~}H_!+&xVs^hfkJL>Vq*_W2V#2fLUW3DB0j-snL$| z^}FOfTBp?P9RqA3O|=|tP_#?jb_;0R1h&;{8(Y0V+T-H`t~0|%TmFOUZa|i1wX;pm zE!}WkT{xMw@MQtbNL1%EpCt+M=k{ z#}4ft8O#Akyrb!d#t7W)aPqg|+=txtGLr5%E{BBMR5$ttEO%)RsH9z-kLQv425Wq} z7lKvjLO6cOFue&mZFGdSUAhtRC(VVNg2{Dk-oCg;O$rX+ru!h01(zIWk6-nxz9c#E zWFVbMQhom1d#)Wb??wlGM!$PrBR+kU&p5OWx6waee|oR|~{ zSJYOUG!&)L@)HlEBf_aOwpHQZl0ikJI0zg3Y>W+>_EH$YNjE8Ei*k6yD`axRd8TWe zt`jly5^{lR%s}cmqiCPPQdi~q6E3J6B%dBUYE7X-L#>idHt+O=*>ss@9%bd9H;=49 zWqNO>QD$47YrSZ1V7|~FcgLG*bY3xL0;Qy-sEG`k@(-9FuF>2`T@RX=SyXLC`^ND` z0~Q5F~f=s6G4m+u*s>} z#{{d85)+>IPI>%9V*{>?Z4ibwpSfM|(xHSj((<5ps zo`YltgQ+vRTx5XGyBuZt*r+_E?C#4;E_0cWEc4+KiP8#2>Ji#SgcpW@K~xlv7jeN{ zM0lCUpz#-;~f;o;{y>p%_Gvw3PGksd_g26A}Z-QJs8YtRCMez1%<8m zzuo_5?ce*~zg?^09R;*J#Ne1e^k6U#Bd&fC{9UHt&kwDF1zAF&3v1#*VK7SU?{0eB(3I6~jb7 z9;s0K*lNltmpH7Q7gVUICS^23K`X`{ty~mE&Uo4ys?Ccp#4&4@6&6%gBxtG7=)89G z&R5TO-k%j@@a$ELAjN_n6+2srHx0FV2c1sbhEep=UKEL|^`O{dCP?R;fR@F*W}vs~ zJZ6sKX7rYOFeIBHBruGRr0weIJfy1@iK^Pr$kmY4dj5oduAwN2;dWh%q`PStK@onH zvv+@ zWfym7#8zR3;aI(JQ%H1b0qS(IoSKx>$Mu*(G&k@a@U1HWM#hj0@Ha3{}BeU8c#>)Sy6!|17}o} zreN1X2UN5nd4d%jhlJ}YBedK;(ia(*Q~_f9&)k7cFeo>`c~q%rU=I#b;C=K12ML(4sJG%VxCzO#5HBnW?*fEb!VP2R6O8sCiiiv0z6%8qc;f=F>#W_u zg#qKBF7Qg?r#(OJmz@?n9ol=> diff --git a/src/monitor-control-service/report.md b/src/monitor-control-service/report.md deleted file mode 100644 index 23dd1c43748..00000000000 --- a/src/monitor-control-service/report.md +++ /dev/null @@ -1,198 +0,0 @@ -# Azure CLI Module Creation Report - -## EXTENSION -|CLI Extension|Command Groups| -|---------|------------| -|az monitor-control-service|[groups](#CommandGroups) - -## GROUPS -### Command groups in `az monitor-control-service` extension -|CLI Command Group|Group Swagger name|Commands| -|---------|------------|--------| -|az monitor data-collection endpoint|DataCollectionEndpoints|[commands](#CommandsInDataCollectionEndpoints)| -|az monitor data-collection rule|DataCollectionRules|[commands](#CommandsInDataCollectionRules)| -|az monitor data-collection rule association|DataCollectionRuleAssociations|[commands](#CommandsInDataCollectionRuleAssociations)| - -## COMMANDS -### Commands in `az monitor data-collection endpoint` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az monitor data-collection endpoint list](#DataCollectionEndpointsListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersDataCollectionEndpointsListByResourceGroup)|[Example](#ExamplesDataCollectionEndpointsListByResourceGroup)| -|[az monitor data-collection endpoint list](#DataCollectionEndpointsListBySubscription)|ListBySubscription|[Parameters](#ParametersDataCollectionEndpointsListBySubscription)|[Example](#ExamplesDataCollectionEndpointsListBySubscription)| -|[az monitor data-collection endpoint show](#DataCollectionEndpointsGet)|Get|[Parameters](#ParametersDataCollectionEndpointsGet)|[Example](#ExamplesDataCollectionEndpointsGet)| -|[az monitor data-collection endpoint delete](#DataCollectionEndpointsDelete)|Delete|[Parameters](#ParametersDataCollectionEndpointsDelete)|[Example](#ExamplesDataCollectionEndpointsDelete)| - -### Commands in `az monitor data-collection rule` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az monitor data-collection rule list](#DataCollectionRulesListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersDataCollectionRulesListByResourceGroup)|[Example](#ExamplesDataCollectionRulesListByResourceGroup)| -|[az monitor data-collection rule list](#DataCollectionRulesListBySubscription)|ListBySubscription|[Parameters](#ParametersDataCollectionRulesListBySubscription)|[Example](#ExamplesDataCollectionRulesListBySubscription)| -|[az monitor data-collection rule show](#DataCollectionRulesGet)|Get|[Parameters](#ParametersDataCollectionRulesGet)|[Example](#ExamplesDataCollectionRulesGet)| -|[az monitor data-collection rule delete](#DataCollectionRulesDelete)|Delete|[Parameters](#ParametersDataCollectionRulesDelete)|[Example](#ExamplesDataCollectionRulesDelete)| - -### Commands in `az monitor data-collection rule association` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az monitor data-collection rule association list](#DataCollectionRuleAssociationsListByRule)|ListByRule|[Parameters](#ParametersDataCollectionRuleAssociationsListByRule)|[Example](#ExamplesDataCollectionRuleAssociationsListByRule)| -|[az monitor data-collection rule association list](#DataCollectionRuleAssociationsListByDataCollectionEndpoint)|ListByDataCollectionEndpoint|[Parameters](#ParametersDataCollectionRuleAssociationsListByDataCollectionEndpoint)|[Example](#ExamplesDataCollectionRuleAssociationsListByDataCollectionEndpoint)| -|[az monitor data-collection rule association list](#DataCollectionRuleAssociationsListByResource)|ListByResource|[Parameters](#ParametersDataCollectionRuleAssociationsListByResource)|[Example](#ExamplesDataCollectionRuleAssociationsListByResource)| -|[az monitor data-collection rule association show](#DataCollectionRuleAssociationsGet)|Get|[Parameters](#ParametersDataCollectionRuleAssociationsGet)|[Example](#ExamplesDataCollectionRuleAssociationsGet)| -|[az monitor data-collection rule association delete](#DataCollectionRuleAssociationsDelete)|Delete|[Parameters](#ParametersDataCollectionRuleAssociationsDelete)|[Example](#ExamplesDataCollectionRuleAssociationsDelete)| - - -## COMMAND DETAILS -### group `az monitor data-collection endpoint` -#### Command `az monitor data-collection endpoint list` - -##### Example -``` -az monitor data-collection endpoint list --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| - -#### Command `az monitor data-collection endpoint list` - -##### Example -``` -az monitor data-collection endpoint list -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| - -#### Command `az monitor data-collection endpoint show` - -##### Example -``` -az monitor data-collection endpoint show --name "myCollectionEndpoint" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--data-collection-endpoint-name**|string|The name of the data collection endpoint. The name is case insensitive.|data_collection_endpoint_name|dataCollectionEndpointName| - -#### Command `az monitor data-collection endpoint delete` - -##### Example -``` -az monitor data-collection endpoint delete --name "myCollectionEndpoint" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--data-collection-endpoint-name**|string|The name of the data collection endpoint. The name is case insensitive.|data_collection_endpoint_name|dataCollectionEndpointName| - -### group `az monitor data-collection rule` -#### Command `az monitor data-collection rule list` - -##### Example -``` -az monitor data-collection rule list --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| - -#### Command `az monitor data-collection rule list` - -##### Example -``` -az monitor data-collection rule list -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| - -#### Command `az monitor data-collection rule show` - -##### Example -``` -az monitor data-collection rule show --name "myCollectionRule" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--data-collection-rule-name**|string|The name of the data collection rule. The name is case insensitive.|data_collection_rule_name|dataCollectionRuleName| - -#### Command `az monitor data-collection rule delete` - -##### Example -``` -az monitor data-collection rule delete --name "myCollectionRule" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--data-collection-rule-name**|string|The name of the data collection rule. The name is case insensitive.|data_collection_rule_name|dataCollectionRuleName| - -### group `az monitor data-collection rule association` -#### Command `az monitor data-collection rule association list` - -##### Example -``` -az monitor data-collection rule association list --rule-name "myCollectionRule" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--data-collection-rule-name**|string|The name of the data collection rule. The name is case insensitive.|data_collection_rule_name|dataCollectionRuleName| - -#### Command `az monitor data-collection rule association list` - -##### Example -``` -az monitor data-collection rule association list --data-collection-endpoint-name "myDataCollectionEndpointName" \ ---resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--data-collection-endpoint-name**|string|The name of the data collection endpoint. The name is case insensitive.|data_collection_endpoint_name|dataCollectionEndpointName| - -#### Command `az monitor data-collection rule association list` - -##### Example -``` -az monitor data-collection rule association list --resource "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourc\ -eGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-uri**|string|The identifier of the resource.|resource_uri|resourceUri| - -#### Command `az monitor data-collection rule association show` - -##### Example -``` -az monitor data-collection rule association show --name "myAssociation" --resource "subscriptions/703362b3-f278-4e4b-91\ -79-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-uri**|string|The identifier of the resource.|resource_uri|resourceUri| -|**--association-name**|string|The name of the association. The name is case insensitive.|association_name|associationName| - -#### Command `az monitor data-collection rule association delete` - -##### Example -``` -az monitor data-collection rule association delete --name "myAssociation" --resource "subscriptions/703362b3-f278-4e4b-\ -9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-uri**|string|The identifier of the resource.|resource_uri|resourceUri| -|**--association-name**|string|The name of the association. The name is case insensitive.|association_name|associationName| From 662c9cc8a44169f257afb63270836c9df49cf0ac Mon Sep 17 00:00:00 2001 From: Zeng Taoxu Date: Thu, 21 Apr 2022 14:48:27 +0800 Subject: [PATCH 4/6] update --- .../test_amcs_data_collection_endpoint.yaml | 46 +- .../test_amcs_data_collection_rule.yaml | 44 +- ...test_monitor_control_service_Scenario.yaml | 486 +++++++++--------- 3 files changed, 288 insertions(+), 288 deletions(-) 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 bf20c98d07a..3d55a277873 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 @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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-20T10:08:57Z"},"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":"2022-04-21T06:46:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:01 GMT + - Thu, 21 Apr 2022 06:46:31 GMT expires: - '-1' pragma: @@ -65,7 +65,7 @@ interactions: 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-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"81003e06-0000-3300-0000-625fdbc90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:10.6461997Z"}}' + string: '{"properties":{"immutableId":"dce-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c25d-0000-3300-0000-6260fdd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:38.3908963Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -76,7 +76,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:14 GMT + - Thu, 21 Apr 2022 06:46:43 GMT expires: - '-1' pragma: @@ -117,7 +117,7 @@ interactions: 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-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"81003e06-0000-3300-0000-625fdbc90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:10.6461997Z"}}' + string: '{"properties":{"immutableId":"dce-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c25d-0000-3300-0000-6260fdd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:38.3908963Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:17 GMT + - Thu, 21 Apr 2022 06:46:45 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "kind": "Windows", "properties": {"immutableId": - "dce-31559754beb442ce9682b3be573b36b7", "configurationAccess": {}, "logsIngestion": + "dce-4b2849b2438143388dcf69585067c85d", "configurationAccess": {}, "logsIngestion": {}, "networkAcls": {"publicNetworkAccess": "Enabled"}}}' headers: Accept: @@ -173,7 +173,7 @@ interactions: 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-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"8100fc07-0000-3300-0000-625fdbd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:20.0155011Z"}}' + string: '{"properties":{"immutableId":"dce-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c95d-0000-3300-0000-6260fdd90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:48.2081153Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -184,7 +184,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:25 GMT + - Thu, 21 Apr 2022 06:46:51 GMT expires: - '-1' pragma: @@ -225,7 +225,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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-20T10:08:57Z"},"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":"2022-04-21T06:46:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -234,7 +234,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:26 GMT + - Thu, 21 Apr 2022 06:46:52 GMT expires: - '-1' pragma: @@ -272,7 +272,7 @@ interactions: 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-8aff2661cdd44b3d85687165c509202a","configurationAccess":{"endpoint":"https://endpoint2-j5je.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-j5je.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":"\"8100870b-0000-3300-0000-625fdbe10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:35.5087136Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:35.5087136Z"}}' + string: '{"properties":{"immutableId":"dce-48b5ad2c7cfa4143a6e9be474a165229","configurationAccess":{"endpoint":"https://endpoint2-lnr2.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-lnr2.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":"\"0000cb5d-0000-3300-0000-6260fde50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:58.5870943Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:58.5870943Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -283,7 +283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:38 GMT + - Thu, 21 Apr 2022 06:47:03 GMT expires: - '-1' pragma: @@ -324,7 +324,7 @@ interactions: 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-8aff2661cdd44b3d85687165c509202a","configurationAccess":{"endpoint":"https://endpoint2-j5je.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-j5je.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":"\"8100870b-0000-3300-0000-625fdbe10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:35.5087136Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:35.5087136Z"}}' + string: '{"properties":{"immutableId":"dce-48b5ad2c7cfa4143a6e9be474a165229","configurationAccess":{"endpoint":"https://endpoint2-lnr2.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-lnr2.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":"\"0000cb5d-0000-3300-0000-6260fde50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:58.5870943Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:58.5870943Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -335,7 +335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:41 GMT + - Thu, 21 Apr 2022 06:47:05 GMT expires: - '-1' pragma: @@ -374,7 +374,7 @@ interactions: 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-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"8100fc07-0000-3300-0000-625fdbd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:20.0155011Z"}},{"properties":{"immutableId":"dce-8aff2661cdd44b3d85687165c509202a","configurationAccess":{"endpoint":"https://endpoint2-j5je.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-j5je.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":"\"8100870b-0000-3300-0000-625fdbe10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:35.5087136Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:35.5087136Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c95d-0000-3300-0000-6260fdd90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:48.2081153Z"}},{"properties":{"immutableId":"dce-48b5ad2c7cfa4143a6e9be474a165229","configurationAccess":{"endpoint":"https://endpoint2-lnr2.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-lnr2.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":"\"0000cb5d-0000-3300-0000-6260fde50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:58.5870943Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:58.5870943Z"}}],"nextLink":null}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -385,7 +385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:44 GMT + - Thu, 21 Apr 2022 06:47:07 GMT expires: - '-1' pragma: @@ -426,7 +426,7 @@ interactions: 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-j5je'' + 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-lnr2'' 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."}}' headers: @@ -441,7 +441,7 @@ interactions: content-type: - application/json date: - - Wed, 20 Apr 2022 10:09:48 GMT + - Thu, 21 Apr 2022 06:47:10 GMT expires: - '-1' pragma: @@ -489,7 +489,7 @@ interactions: cache-control: - no-cache date: - - Wed, 20 Apr 2022 10:09:56 GMT + - Thu, 21 Apr 2022 06:47:17 GMT expires: - '-1' pragma: @@ -503,7 +503,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 204 message: No Content @@ -526,7 +526,7 @@ interactions: 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-31559754beb442ce9682b3be573b36b7","configurationAccess":{"endpoint":"https://endpoint1-mwj4.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-mwj4.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":"\"8100fc07-0000-3300-0000-625fdbd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:09:10.6461997Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:09:20.0155011Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c95d-0000-3300-0000-6260fdd90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:48.2081153Z"}}],"nextLink":null}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -537,7 +537,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:09:57 GMT + - Thu, 21 Apr 2022 06:47:18 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml index 7fec2edf2e3..62ced6857db 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml @@ -27,8 +27,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600cac1-0000-0800-0000-625fdcd00000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:35.3784925Z"}}' + string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400a6f9-0000-0800-0000-6260fe150000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:48.5256951Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -39,7 +39,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:13:37 GMT + - Thu, 21 Apr 2022 06:47:51 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -80,8 +80,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600cac1-0000-0800-0000-625fdcd00000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:35.3784925Z"}}' + string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400a6f9-0000-0800-0000-6260fe150000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:48.5256951Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -92,7 +92,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:13:39 GMT + - Thu, 21 Apr 2022 06:47:53 GMT expires: - '-1' pragma: @@ -140,19 +140,19 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600e0c1-0000-0800-0000-625fdcd40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:39.888838Z"}}' + string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400bdf9-0000-0800-0000-6260fe1a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:54.3982185Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1029' + - '1030' content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:13:40 GMT + - Thu, 21 Apr 2022 06:47:54 GMT expires: - '-1' pragma: @@ -193,19 +193,19 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600e0c1-0000-0800-0000-625fdcd40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:39.888838Z"}}' + string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400bdf9-0000-0800-0000-6260fe1a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:54.3982185Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1029' + - '1030' content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:13:42 GMT + - Thu, 21 Apr 2022 06:47:56 GMT expires: - '-1' pragma: @@ -244,19 +244,19 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dcr-eabb971519164dca83ec01dcb42f2cd1","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"0600e0c1-0000-0800-0000-625fdcd40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-20T10:13:35.3784925Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-20T10:13:39.888838Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400bdf9-0000-0800-0000-6260fe1a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:54.3982185Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1057' + - '1058' content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:13:43 GMT + - Thu, 21 Apr 2022 06:47:58 GMT expires: - '-1' pragma: @@ -306,7 +306,7 @@ interactions: content-length: - '0' date: - - Wed, 20 Apr 2022 10:13:48 GMT + - Thu, 21 Apr 2022 06:48:05 GMT expires: - '-1' pragma: @@ -320,7 +320,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 200 message: OK @@ -352,7 +352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 Apr 2022 10:13:49 GMT + - Thu, 21 Apr 2022 06:48:06 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml index b8c1c801989..d64b36910b6 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml @@ -25,17 +25,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0668f42b-603a-4260-8fb8-0c9f023bb7f4\",\r\n \"provisioningState\": \"Creating\",\r\n + \"dc870762-3cca-44d6-999d-070749ee775d\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:08 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:39:43 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\": \"Thu, 21 Apr 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:12:08 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:12:08 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 06:39:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:39:43 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}" headers: @@ -46,7 +46,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:12:08 GMT + - Thu, 21 Apr 2022 06:39:43 GMT pragma: - no-cache server: @@ -57,7 +57,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -84,17 +84,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0668f42b-603a-4260-8fb8-0c9f023bb7f4\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"dc870762-3cca-44d6-999d-070749ee775d\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:08 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:39:43 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\": \"Thu, 21 Apr 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:12:08 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:12:09 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 06:39:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:39:44 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}" headers: @@ -105,7 +105,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:12:39 GMT + - Thu, 21 Apr 2022 06:40:14 GMT pragma: - no-cache server: @@ -151,17 +151,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"788843d7-578a-49f7-9082-57cae8b8d7f9\",\r\n \"provisioningState\": \"Creating\",\r\n + \"4f1daaf3-3ce3-4096-87c6-11759677d32c\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:48 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:40:27 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\": \"Thu, 21 Apr 2022 16:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:12:48 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:12:48 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 06:40:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:40:27 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}" headers: @@ -172,7 +172,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:12:48 GMT + - Thu, 21 Apr 2022 06:40:28 GMT pragma: - no-cache server: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -210,17 +210,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"788843d7-578a-49f7-9082-57cae8b8d7f9\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"4f1daaf3-3ce3-4096-87c6-11759677d32c\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:12:48 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:40:27 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\": \"Thu, 21 Apr 2022 16:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:12:48 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:12:49 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 06:40:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:40:28 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}" headers: @@ -231,7 +231,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:13:18 GMT + - Thu, 21 Apr 2022 06:40:59 GMT pragma: - no-cache server: @@ -277,17 +277,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"dcf3c176-ccc1-49a2-936d-5fc44622c15a\",\r\n \"provisioningState\": \"Creating\",\r\n + \"40a7aafa-4cfd-490d-a54d-9e52b37d1714\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:13:27 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:41:03 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\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:13:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:13:27 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 06:41:03 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:41:03 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}" headers: @@ -298,7 +298,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:13:28 GMT + - Thu, 21 Apr 2022 06:41:04 GMT pragma: - no-cache server: @@ -309,7 +309,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -336,17 +336,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"dcf3c176-ccc1-49a2-936d-5fc44622c15a\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"40a7aafa-4cfd-490d-a54d-9e52b37d1714\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:13:27 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:41:03 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\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:13:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:13:28 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 06:41:03 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 06:41:05 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}" headers: @@ -357,7 +357,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:13:59 GMT + - Thu, 21 Apr 2022 06:41:34 GMT pragma: - no-cache server: @@ -396,7 +396,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-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":"2022-04-21T06:11:54Z"},"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","date":"2022-04-21T06:39:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -405,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:14:00 GMT + - Thu, 21 Apr 2022 06:41:36 GMT expires: - '-1' pragma: @@ -485,13 +485,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 21 Apr 2022 06:14:02 GMT + - Thu, 21 Apr 2022 06:41:36 GMT etag: - W/"54bceef15b892f2aa7f4c2145a49f1b5e33608722acdbb47933d7b6cbebbd7f4" expires: - - Thu, 21 Apr 2022 06:19:02 GMT + - Thu, 21 Apr 2022 06:46:36 GMT source-age: - - '0' + - '235' strict-transport-security: - max-age=31536000 vary: @@ -501,19 +501,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '1' + - '2' x-content-type-options: - nosniff x-fastly-request-id: - - 1a55d9b09d28808dd3b541c0e97a76c325142fd1 + - 7733ae10a7cd37af621f7b168e67b3a5ce1426ac x-frame-options: - deny x-github-request-id: - E4E0:6A70:82168:B1E1A:6260ECA9 x-served-by: - - cache-qpg1281-QPG + - cache-qpg1278-QPG x-timer: - - S1650521642.578168,VS0,VE1026 + - S1650523297.833603,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -547,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:14:03 GMT + - Thu, 21 Apr 2022 06:41:37 GMT expires: - '-1' pragma: @@ -615,10 +615,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","name":"vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10154410411518453611","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T06:14:09.5738607Z","duration":"PT0.0005179S","correlationId":"cb28d4f4-d68c-48a3-8c6e-1d25613006cc","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_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","name":"vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14301798715436807706","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T06:41:44.7513992Z","duration":"PT0.0008267S","correlationId":"ee7ba1e2-9fba-4a1c-8573-ce85bbbcbb05","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_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe/operationStatuses/08585510852386341205?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa/operationStatuses/08585510835830637665?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -626,7 +626,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:14:11 GMT + - Thu, 21 Apr 2022 06:41:45 GMT expires: - '-1' pragma: @@ -656,7 +656,7 @@ interactions: User-Agent: - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585510852386341205?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/08585510835830637665?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -668,7 +668,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:14:41 GMT + - Thu, 21 Apr 2022 06:42:16 GMT expires: - '-1' pragma: @@ -698,7 +698,7 @@ interactions: User-Agent: - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585510852386341205?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/08585510835830637665?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -710,7 +710,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:11 GMT + - Thu, 21 Apr 2022 06:42:46 GMT expires: - '-1' pragma: @@ -743,7 +743,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","name":"vm_deploy_IGaBtV2V5XwMhwmQR15GpCs6r6nKodpe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10154410411518453611","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T06:14:52.8637836Z","duration":"PT43.2904408S","correlationId":"cb28d4f4-d68c-48a3-8c6e-1d25613006cc","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_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","name":"vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14301798715436807706","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T06:42:27.7377652Z","duration":"PT42.9871927S","correlationId":"ee7ba1e2-9fba-4a1c-8573-ce85bbbcbb05","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 @@ -752,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:12 GMT + - Thu, 21 Apr 2022 06:42:47 GMT expires: - '-1' pragma: @@ -787,16 +787,16 @@ interactions: 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\": \"6037b025-0cb9-4f05-9e5d-6cfb96af5096\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ca0d33b3-8881-4fe3-8151-d174d292e90f\",\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.202204190\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_c204e01b4de049318111887323411e8b\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_89adb8cec71147959b37dc2c7fd2abdd\",\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_c204e01b4de049318111887323411e8b\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_89adb8cec71147959b37dc2c7fd2abdd\"\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 @@ -812,15 +812,15 @@ interactions: [\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\": - \"2022-04-21T06:14:59+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_c204e01b4de049318111887323411e8b\",\r\n + \"2022-04-21T06:42:36+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_89adb8cec71147959b37dc2c7fd2abdd\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-04-21T06:14:34.4407177+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T06:42:12.4422058+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\": \"2022-04-21T06:14:49.2844873+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T06:42:24.2079537+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 }\r\n}" @@ -832,7 +832,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:13 GMT + - Thu, 21 Apr 2022 06:42:48 GMT expires: - '-1' pragma: @@ -849,7 +849,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31990 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31982 status: code: 200 message: OK @@ -873,12 +873,12 @@ interactions: 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/\\\"7f9593c3-9112-4cfc-b603-de6ae38811dd\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"55db601c-1a16-4a7d-873e-e0bd3c6e04a2\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"16d6f5c3-d96e-4f4a-999c-33f47b821257\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"43a8514a-312c-4b94-afa7-7c2b951bf144\",\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/\\\"7f9593c3-9112-4cfc-b603-de6ae38811dd\\\"\",\r\n + \ \"etag\": \"W/\\\"55db601c-1a16-4a7d-873e-e0bd3c6e04a2\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -887,8 +887,8 @@ interactions: \ },\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\": - \"wtvykmpkf21ujmma4evfl2aibg.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-0A-FB-BC\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"x3twnpw4focelme5hbhipwm0bc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-5B-6B-EC\",\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 @@ -901,9 +901,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:14 GMT + - Thu, 21 Apr 2022 06:42:49 GMT etag: - - W/"7f9593c3-9112-4cfc-b603-de6ae38811dd" + - W/"55db601c-1a16-4a7d-873e-e0bd3c6e04a2" expires: - '-1' pragma: @@ -920,7 +920,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 80bf99a4-382b-45d6-a33a-cc5bb83fecc9 + - 5d69c7b7-927d-4451-815b-00feccb5dd50 status: code: 200 message: OK @@ -944,10 +944,10 @@ interactions: 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/\\\"3e2a26f7-b846-4008-9686-3601ebbe5c4f\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"13af7a0c-e9f4-4cf9-889d-c12142c9c0c9\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"03bcfaa5-cdaf-4639-aa36-42bd1c390c77\",\r\n - \ \"ipAddress\": \"168.62.20.243\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"e05c4258-1b5f-4606-a644-116be06600c0\",\r\n + \ \"ipAddress\": \"13.91.128.57\",\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 @@ -956,13 +956,13 @@ interactions: cache-control: - no-cache content-length: - - '873' + - '872' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:14 GMT + - Thu, 21 Apr 2022 06:42:49 GMT etag: - - W/"3e2a26f7-b846-4008-9686-3601ebbe5c4f" + - W/"13af7a0c-e9f4-4cf9-889d-c12142c9c0c9" expires: - '-1' pragma: @@ -979,7 +979,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 855a3f8b-e2b0-4cc2-8773-2ff436fca5f4 + - c40d3c74-c476-41d1-aee5-4d78ac403a63 status: code: 200 message: OK @@ -1011,8 +1011,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1023,7 +1023,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:27 GMT + - Thu, 21 Apr 2022 06:42:58 GMT expires: - '-1' pragma: @@ -1064,8 +1064,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1076,7 +1076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:29 GMT + - Thu, 21 Apr 2022 06:43:01 GMT expires: - '-1' pragma: @@ -1115,8 +1115,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1127,7 +1127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:31 GMT + - Thu, 21 Apr 2022 06:43:03 GMT expires: - '-1' pragma: @@ -1164,8 +1164,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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 @@ -1174,7 +1174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:33 GMT + - Thu, 21 Apr 2022 06:43:04 GMT expires: - '-1' pragma: @@ -1186,8 +1186,8 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 796428b2-18ce-44a1-8d04-488fa2f123a5 - - 09bd8a9e-1c20-4e88-9523-ea7e12697631 + - fa855eb1-e5a4-4ee5-be4e-7dbc7f74dc64 + - 5b7b3e44-1833-4304-b376-9f57470dc423 status: code: 200 message: OK @@ -1210,8 +1210,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900c7d7-0000-0100-0000-6260f67e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:24.7702133Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1222,7 +1222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:36 GMT + - Thu, 21 Apr 2022 06:43:06 GMT expires: - '-1' pragma: @@ -1270,8 +1270,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090018d8-0000-0100-0000-6260f68b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:39.3785264Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afa-0000-0100-0000-6260fcff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:10.9389309Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1282,7 +1282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:42 GMT + - Thu, 21 Apr 2022 06:43:13 GMT expires: - '-1' pragma: @@ -1323,8 +1323,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090018d8-0000-0100-0000-6260f68b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:39.3785264Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afa-0000-0100-0000-6260fcff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:10.9389309Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1335,7 +1335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:44 GMT + - Thu, 21 Apr 2022 06:43:15 GMT expires: - '-1' pragma: @@ -1384,8 +1384,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1396,7 +1396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:46 GMT + - Thu, 21 Apr 2022 06:43:17 GMT expires: - '-1' pragma: @@ -1437,8 +1437,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1449,7 +1449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:48 GMT + - Thu, 21 Apr 2022 06:43:19 GMT expires: - '-1' pragma: @@ -1488,8 +1488,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1500,7 +1500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:50 GMT + - Thu, 21 Apr 2022 06:43:21 GMT expires: - '-1' pragma: @@ -1539,8 +1539,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002dd8-0000-0100-0000-6260f6920000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:45.2482987Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1551,7 +1551,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:52 GMT + - Thu, 21 Apr 2022 06:43:24 GMT expires: - '-1' pragma: @@ -1600,8 +1600,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"dcf3c176-ccc1-49a2-936d-5fc44622c15a","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":"\"090057d8-0000-0100-0000-6260f69a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:53.8825155Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"40a7aafa-4cfd-490d-a54d-9e52b37d1714","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":"\"0900b4fa-0000-0100-0000-6260fd0e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:25.7744121Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1612,7 +1612,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:54 GMT + - Thu, 21 Apr 2022 06:43:26 GMT expires: - '-1' pragma: @@ -1653,8 +1653,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"dcf3c176-ccc1-49a2-936d-5fc44622c15a","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":"\"090057d8-0000-0100-0000-6260f69a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:53.8825155Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"40a7aafa-4cfd-490d-a54d-9e52b37d1714","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":"\"0900b4fa-0000-0100-0000-6260fd0e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:25.7744121Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1665,7 +1665,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:57 GMT + - Thu, 21 Apr 2022 06:43:27 GMT expires: - '-1' pragma: @@ -1713,8 +1713,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09006fd8-0000-0100-0000-6260f69e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:57.8987724Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"0900c1fa-0000-0100-0000-6260fd100000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:28.2646855Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1725,7 +1725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:15:58 GMT + - Thu, 21 Apr 2022 06:43:28 GMT expires: - '-1' pragma: @@ -1767,8 +1767,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09006fd8-0000-0100-0000-6260f69e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:15:57.8987724Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"0900c1fa-0000-0100-0000-6260fd100000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:28.2646855Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1779,7 +1779,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:00 GMT + - Thu, 21 Apr 2022 06:43:30 GMT expires: - '-1' pragma: @@ -1830,20 +1830,20 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' + 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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1267' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:01 GMT + - Thu, 21 Apr 2022 06:43:31 GMT expires: - '-1' pragma: @@ -1884,20 +1884,20 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' + 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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1267' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:02 GMT + - Thu, 21 Apr 2022 06:43:34 GMT expires: - '-1' pragma: @@ -1936,20 +1936,20 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' + 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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1267' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:04 GMT + - Thu, 21 Apr 2022 06:43:36 GMT expires: - '-1' pragma: @@ -1988,20 +1988,20 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"09007fd8-0000-0100-0000-6260f6a10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:01.06504Z"}}' + 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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1267' + - '1269' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:06 GMT + - Thu, 21 Apr 2022 06:43:38 GMT expires: - '-1' pragma: @@ -2051,9 +2051,9 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090097d8-0000-0100-0000-6260f6a70000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:07.6855167Z"}}' + 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":"\"0900f9fa-0000-0100-0000-6260fd1b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:39.3858283Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2064,7 +2064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:07 GMT + - Thu, 21 Apr 2022 06:43:39 GMT expires: - '-1' pragma: @@ -2105,9 +2105,9 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090097d8-0000-0100-0000-6260f6a70000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:07.6855167Z"}}' + 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":"\"0900f9fa-0000-0100-0000-6260fd1b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:39.3858283Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2118,7 +2118,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:10 GMT + - Thu, 21 Apr 2022 06:43:41 GMT expires: - '-1' pragma: @@ -2166,8 +2166,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900abd8-0000-0100-0000-6260f6ab0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:10.9667092Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09000dfb-0000-0100-0000-6260fd1e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:42.7178588Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2178,7 +2178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:11 GMT + - Thu, 21 Apr 2022 06:43:42 GMT expires: - '-1' pragma: @@ -2219,8 +2219,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900abd8-0000-0100-0000-6260f6ab0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:10.9667092Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09000dfb-0000-0100-0000-6260fd1e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:42.7178588Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2231,7 +2231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:13 GMT + - Thu, 21 Apr 2022 06:43:43 GMT expires: - '-1' pragma: @@ -2282,10 +2282,10 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' + = 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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2296,7 +2296,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:13 GMT + - Thu, 21 Apr 2022 06:43:44 GMT expires: - '-1' pragma: @@ -2314,7 +2314,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -2337,10 +2337,10 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' + = 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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2351,7 +2351,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:15 GMT + - Thu, 21 Apr 2022 06:43:45 GMT expires: - '-1' pragma: @@ -2390,10 +2390,10 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' + = 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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2404,7 +2404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:17 GMT + - Thu, 21 Apr 2022 06:43:46 GMT expires: - '-1' pragma: @@ -2443,10 +2443,10 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900b6d8-0000-0100-0000-6260f6ae0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:14.0465097Z"}}' + = 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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2457,7 +2457,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:20 GMT + - Thu, 21 Apr 2022 06:43:48 GMT expires: - '-1' pragma: @@ -2507,20 +2507,20 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900cfd8-0000-0100-0000-6260f6b40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:20.4285271Z"}}' + = 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":"\"090029fb-0000-0100-0000-6260fd250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:49.12195Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1254' + - '1252' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:20 GMT + - Thu, 21 Apr 2022 06:43:49 GMT expires: - '-1' pragma: @@ -2561,20 +2561,20 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900cfd8-0000-0100-0000-6260f6b40000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:20.4285271Z"}}' + = 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":"\"090029fb-0000-0100-0000-6260fd250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:49.12195Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1254' + - '1252' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:21 GMT + - Thu, 21 Apr 2022 06:43:49 GMT expires: - '-1' pragma: @@ -2622,19 +2622,19 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900d9d8-0000-0100-0000-6260f6b60000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:22.617132Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090035fb-0000-0100-0000-6260fd270000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:51.6241706Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1114' + - '1115' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:22 GMT + - Thu, 21 Apr 2022 06:43:51 GMT expires: - '-1' pragma: @@ -2652,7 +2652,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '147' status: code: 200 message: OK @@ -2675,19 +2675,19 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900d9d8-0000-0100-0000-6260f6b60000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:22.617132Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090035fb-0000-0100-0000-6260fd270000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:51.6241706Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1114' + - '1115' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:23 GMT + - Thu, 21 Apr 2022 06:43:53 GMT expires: - '-1' pragma: @@ -2737,8 +2737,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2749,7 +2749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:23 GMT + - Thu, 21 Apr 2022 06:43:54 GMT expires: - '-1' pragma: @@ -2767,7 +2767,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -2790,8 +2790,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2802,7 +2802,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:26 GMT + - Thu, 21 Apr 2022 06:43:56 GMT expires: - '-1' pragma: @@ -2841,8 +2841,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2853,7 +2853,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:28 GMT + - Thu, 21 Apr 2022 06:43:57 GMT expires: - '-1' pragma: @@ -2892,8 +2892,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"0900e4d8-0000-0100-0000-6260f6b80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:24.3259367Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2904,7 +2904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:29 GMT + - Thu, 21 Apr 2022 06:44:00 GMT expires: - '-1' pragma: @@ -2954,8 +2954,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09000dd9-0000-0100-0000-6260f6bf0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:30.9117881Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afb-0000-0100-0000-6260fd310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:00.9826303Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2966,7 +2966,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:30 GMT + - Thu, 21 Apr 2022 06:44:00 GMT expires: - '-1' pragma: @@ -3007,8 +3007,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"09000dd9-0000-0100-0000-6260f6bf0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:30.9117881Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afb-0000-0100-0000-6260fd310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:00.9826303Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3019,7 +3019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:33 GMT + - Thu, 21 Apr 2022 06:44:02 GMT expires: - '-1' pragma: @@ -3067,8 +3067,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090016d9-0000-0100-0000-6260f6c20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:34.2093932Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09007dfb-0000-0100-0000-6260fd340000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:04.1302901Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3079,7 +3079,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:34 GMT + - Thu, 21 Apr 2022 06:44:03 GMT expires: - '-1' pragma: @@ -3120,8 +3120,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"\"090016d9-0000-0100-0000-6260f6c20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:34.2093932Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09007dfb-0000-0100-0000-6260fd340000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:04.1302901Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3132,7 +3132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:36 GMT + - Thu, 21 Apr 2022 06:44:06 GMT expires: - '-1' pragma: @@ -3181,8 +3181,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"090022d9-0000-0100-0000-6260f6c50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:37.3288901Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"090086fb-0000-0100-0000-6260fd370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:07.0253569Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3193,7 +3193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:37 GMT + - Thu, 21 Apr 2022 06:44:07 GMT expires: - '-1' pragma: @@ -3211,7 +3211,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -3234,8 +3234,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"090022d9-0000-0100-0000-6260f6c50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:37.3288901Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"090086fb-0000-0100-0000-6260fd370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:07.0253569Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3246,7 +3246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:38 GMT + - Thu, 21 Apr 2022 06:44:10 GMT expires: - '-1' pragma: @@ -3296,8 +3296,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002fd9-0000-0100-0000-6260f6c80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:39.7498122Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"0900b2fb-0000-0100-0000-6260fd3f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:10.4439871Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3308,7 +3308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:39 GMT + - Thu, 21 Apr 2022 06:44:15 GMT expires: - '-1' pragma: @@ -3326,7 +3326,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -3349,8 +3349,8 @@ interactions: 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-89ca30401f4d4f12b75d1c9b44310e9e","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":"788843d7-578a-49f7-9082-57cae8b8d7f9","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":"\"09002fd9-0000-0100-0000-6260f6c80000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:15:24.7702133Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:39.7498122Z"}}' + string: '{"properties":{"immutableId":"dcr-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"0900b2fb-0000-0100-0000-6260fd3f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:10.4439871Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3361,7 +3361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:43 GMT + - Thu, 21 Apr 2022 06:44:17 GMT expires: - '-1' pragma: @@ -3404,18 +3404,18 @@ interactions: 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}' + 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '770' + - '772' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:46 GMT + - Thu, 21 Apr 2022 06:44:21 GMT expires: - '-1' pragma: @@ -3456,18 +3456,18 @@ interactions: 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}' + 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '770' + - '772' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:48 GMT + - Thu, 21 Apr 2022 06:44:23 GMT expires: - '-1' pragma: @@ -3517,7 +3517,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:50 GMT + - Thu, 21 Apr 2022 06:44:24 GMT expires: - '-1' pragma: @@ -3556,18 +3556,18 @@ interactions: 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}],"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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '798' + - '800' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:52 GMT + - Thu, 21 Apr 2022 06:44:26 GMT expires: - '-1' pragma: @@ -3606,18 +3606,18 @@ interactions: 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":"\"03008140-0000-0700-0000-6260f6cd0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:43.912504Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:43.912504Z"}}' + 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '770' + - '772' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:54 GMT + - Thu, 21 Apr 2022 06:44:27 GMT expires: - '-1' pragma: @@ -3661,7 +3661,7 @@ interactions: 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":"\"0300b740-0000-0700-0000-6260f6d70000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:16:54.9981703Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:16:54.9981703Z"}}' + 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":"\"0300a8be-0000-0700-0000-6260fd4c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:28.5929052Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:28.5929052Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3672,7 +3672,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:16:54 GMT + - Thu, 21 Apr 2022 06:44:28 GMT expires: - '-1' pragma: @@ -3724,7 +3724,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 06:16:58 GMT + - Thu, 21 Apr 2022 06:44:31 GMT expires: - '-1' pragma: @@ -3772,7 +3772,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 06:17:04 GMT + - Thu, 21 Apr 2022 06:44:38 GMT expires: - '-1' pragma: From fb4564d6b6924991708f7c8147a805ca4861b6ac Mon Sep 17 00:00:00 2001 From: Zeng Taoxu Date: Thu, 21 Apr 2022 16:33:35 +0800 Subject: [PATCH 5/6] update --- .../test_amcs_data_collection_endpoint.yaml | 66 +- .../test_amcs_data_collection_rule.yaml | 48 +- ...test_monitor_control_service_Scenario.yaml | 774 ++++++++++-------- 3 files changed, 499 insertions(+), 389 deletions(-) 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 3d55a277873..5a77e0a2132 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.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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-21T06:46:28Z"},"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":"2022-04-21T08:26:10Z"},"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 06:46:31 GMT + - Thu, 21 Apr 2022 08:26:14 GMT expires: - '-1' pragma: @@ -60,12 +60,12 @@ interactions: ParameterSetName: - -g -n --public-network-access User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c25d-0000-3300-0000-6260fdd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:38.3908963Z"}}' + string: '{"properties":{"immutableId":"dce-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e26c-0000-3300-0000-626115310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:22.2866318Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -76,7 +76,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:46:43 GMT + - Thu, 21 Apr 2022 08:26:27 GMT expires: - '-1' pragma: @@ -112,12 +112,12 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c25d-0000-3300-0000-6260fdd10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:38.3908963Z"}}' + string: '{"properties":{"immutableId":"dce-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e26c-0000-3300-0000-626115310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:22.2866318Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:46:45 GMT + - Thu, 21 Apr 2022 08:26:29 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "kind": "Windows", "properties": {"immutableId": - "dce-4b2849b2438143388dcf69585067c85d", "configurationAccess": {}, "logsIngestion": + "dce-c7d0afeee2f8421182b78b889e03bd56", "configurationAccess": {}, "logsIngestion": {}, "networkAcls": {"publicNetworkAccess": "Enabled"}}}' headers: Accept: @@ -168,12 +168,12 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c95d-0000-3300-0000-6260fdd90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:48.2081153Z"}}' + string: '{"properties":{"immutableId":"dce-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e76c-0000-3300-0000-626115380000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:31.3645737Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -184,7 +184,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:46:51 GMT + - Thu, 21 Apr 2022 08:26:34 GMT expires: - '-1' pragma: @@ -220,12 +220,12 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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-21T06:46:28Z"},"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":"2022-04-21T08:26:10Z"},"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 06:46:52 GMT + - Thu, 21 Apr 2022 08:26:35 GMT expires: - '-1' pragma: @@ -267,12 +267,12 @@ interactions: ParameterSetName: - -g -n --public-network-access --kind User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-48b5ad2c7cfa4143a6e9be474a165229","configurationAccess":{"endpoint":"https://endpoint2-lnr2.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-lnr2.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":"\"0000cb5d-0000-3300-0000-6260fde50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:58.5870943Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:58.5870943Z"}}' + string: '{"properties":{"immutableId":"dce-575ec617de6643f19722c790b96e93d7","configurationAccess":{"endpoint":"https://endpoint2-g3y5.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-g3y5.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":"\"0000ea6c-0000-3300-0000-626115430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:41.7830415Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:41.7830415Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -283,7 +283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:03 GMT + - Thu, 21 Apr 2022 08:26:45 GMT expires: - '-1' pragma: @@ -319,12 +319,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-48b5ad2c7cfa4143a6e9be474a165229","configurationAccess":{"endpoint":"https://endpoint2-lnr2.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-lnr2.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":"\"0000cb5d-0000-3300-0000-6260fde50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:58.5870943Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:58.5870943Z"}}' + string: '{"properties":{"immutableId":"dce-575ec617de6643f19722c790b96e93d7","configurationAccess":{"endpoint":"https://endpoint2-g3y5.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-g3y5.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":"\"0000ea6c-0000-3300-0000-626115430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:41.7830415Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:41.7830415Z"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -335,7 +335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:05 GMT + - Thu, 21 Apr 2022 08:26:47 GMT expires: - '-1' pragma: @@ -369,12 +369,12 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c95d-0000-3300-0000-6260fdd90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:48.2081153Z"}},{"properties":{"immutableId":"dce-48b5ad2c7cfa4143a6e9be474a165229","configurationAccess":{"endpoint":"https://endpoint2-lnr2.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-lnr2.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":"\"0000cb5d-0000-3300-0000-6260fde50000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:58.5870943Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:58.5870943Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e76c-0000-3300-0000-626115380000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:31.3645737Z"}},{"properties":{"immutableId":"dce-575ec617de6643f19722c790b96e93d7","configurationAccess":{"endpoint":"https://endpoint2-g3y5.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-g3y5.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":"\"0000ea6c-0000-3300-0000-626115430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:41.7830415Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:41.7830415Z"}}],"nextLink":null}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -385,7 +385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:07 GMT + - Thu, 21 Apr 2022 08:26:50 GMT expires: - '-1' pragma: @@ -421,12 +421,12 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (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: '{"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-lnr2'' + 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-g3y5'' 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."}}' headers: @@ -441,7 +441,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:47:10 GMT + - Thu, 21 Apr 2022 08:26:54 GMT expires: - '-1' pragma: @@ -477,7 +477,7 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (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: @@ -489,7 +489,7 @@ interactions: cache-control: - no-cache date: - - Thu, 21 Apr 2022 06:47:17 GMT + - Thu, 21 Apr 2022 08:27:01 GMT expires: - '-1' pragma: @@ -521,12 +521,12 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-4b2849b2438143388dcf69585067c85d","configurationAccess":{"endpoint":"https://endpoint1-jw52.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-jw52.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":"\"0000c95d-0000-3300-0000-6260fdd90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:46:38.3908963Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:46:48.2081153Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dce-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e76c-0000-3300-0000-626115380000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:31.3645737Z"}}],"nextLink":null}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview @@ -537,7 +537,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:18 GMT + - Thu, 21 Apr 2022 08:27:04 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml index 62ced6857db..937d0acece4 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml @@ -22,13 +22,13 @@ interactions: ParameterSetName: - --resource-group --location --name --rule-file User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400a6f9-0000-0800-0000-6260fe150000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:48.5256951Z"}}' + string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15006458-0000-0800-0000-626115720000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:29.3970312Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -39,7 +39,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:51 GMT + - Thu, 21 Apr 2022 08:27:32 GMT expires: - '-1' pragma: @@ -75,13 +75,13 @@ interactions: ParameterSetName: - --resource-group --name --performance-counters User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400a6f9-0000-0800-0000-6260fe150000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:48.5256951Z"}}' + string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15006458-0000-0800-0000-626115720000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:29.3970312Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -92,7 +92,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:53 GMT + - Thu, 21 Apr 2022 08:27:34 GMT expires: - '-1' pragma: @@ -135,13 +135,13 @@ interactions: ParameterSetName: - --resource-group --name --performance-counters User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400bdf9-0000-0800-0000-6260fe1a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:54.3982185Z"}}' + string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15007858-0000-0800-0000-626115770000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:35.6290531Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -152,7 +152,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:54 GMT + - Thu, 21 Apr 2022 08:27:36 GMT expires: - '-1' pragma: @@ -188,13 +188,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400bdf9-0000-0800-0000-6260fe1a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:54.3982185Z"}}' + string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15007858-0000-0800-0000-626115770000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:35.6290531Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -205,7 +205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:56 GMT + - Thu, 21 Apr 2022 08:27:38 GMT expires: - '-1' pragma: @@ -239,13 +239,13 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dcr-dc31b7ade06b46c28f07914b7221083f","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1400bdf9-0000-0800-0000-6260fe1a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:47:48.5256951Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:47:54.3982185Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15007858-0000-0800-0000-626115770000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:35.6290531Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -256,7 +256,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:47:58 GMT + - Thu, 21 Apr 2022 08:27:40 GMT expires: - '-1' pragma: @@ -292,7 +292,7 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: @@ -306,7 +306,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 06:48:05 GMT + - Thu, 21 Apr 2022 08:27:47 GMT expires: - '-1' pragma: @@ -338,7 +338,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: @@ -352,7 +352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:48:06 GMT + - Thu, 21 Apr 2022 08:27:48 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml index d64b36910b6..90e943215e4 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml @@ -19,23 +19,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 + 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\": - \"dc870762-3cca-44d6-999d-070749ee775d\",\r\n \"provisioningState\": \"Creating\",\r\n + \"e6c6b374-4a46-4411-ab06-e84a3ca412db\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:39:43 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:17:25 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\": \"Thu, 21 Apr 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:39:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:39:43 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 08:17:25 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 08:17:25 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}" headers: @@ -46,7 +46,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:39:43 GMT + - Thu, 21 Apr 2022 08:17:26 GMT pragma: - no-cache server: @@ -57,7 +57,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -78,23 +78,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 + 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\": - \"dc870762-3cca-44d6-999d-070749ee775d\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"e6c6b374-4a46-4411-ab06-e84a3ca412db\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:39:43 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:17:25 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\": \"Thu, 21 Apr 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:39:43 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:39:44 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 08:17:25 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 08:17:26 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}" headers: @@ -105,7 +105,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:40:14 GMT + - Thu, 21 Apr 2022 08:17:56 GMT pragma: - no-cache server: @@ -145,23 +145,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-10-01 + 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\": - \"4f1daaf3-3ce3-4096-87c6-11759677d32c\",\r\n \"provisioningState\": \"Creating\",\r\n + \"ea130c35-8ea9-419b-83c8-7110b1333b07\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:40:27 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:04 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\": \"Thu, 21 Apr 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:40:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:40:27 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 08:18:04 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 08:18:04 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}" headers: @@ -172,7 +172,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:40:28 GMT + - Thu, 21 Apr 2022 08:18:06 GMT pragma: - no-cache server: @@ -204,23 +204,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-10-01 + 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\": - \"4f1daaf3-3ce3-4096-87c6-11759677d32c\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"ea130c35-8ea9-419b-83c8-7110b1333b07\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:40:27 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:04 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\": \"Thu, 21 Apr 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:40:27 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:40:28 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 08:18:04 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 08:18:06 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}" headers: @@ -231,7 +231,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:40:59 GMT + - Thu, 21 Apr 2022 08:18:37 GMT pragma: - no-cache server: @@ -271,23 +271,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2020-10-01 + 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\": - \"40a7aafa-4cfd-490d-a54d-9e52b37d1714\",\r\n \"provisioningState\": \"Creating\",\r\n + \"d3318639-7b8c-4428-a1d9-05abf9c4d757\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:41:03 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:49 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\": \"Thu, 21 Apr 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 17:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:41:03 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:41:03 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 08:18:49 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 08:18:49 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}" headers: @@ -298,7 +298,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:41:04 GMT + - Thu, 21 Apr 2022 08:18:50 GMT pragma: - no-cache server: @@ -309,7 +309,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -330,23 +330,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.OperationalInsights/workspaces/clitest000004?api-version=2020-10-01 + 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\": - \"40a7aafa-4cfd-490d-a54d-9e52b37d1714\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"d3318639-7b8c-4428-a1d9-05abf9c4d757\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 06:41:03 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:49 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\": \"Thu, 21 Apr 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 17:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 06:41:03 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 06:41:05 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 08:18:49 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 08:18:50 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}" headers: @@ -357,7 +357,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 06:41:34 GMT + - Thu, 21 Apr 2022 08:19:20 GMT pragma: - no-cache server: @@ -391,12 +391,12 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-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":"2022-04-21T06:39:34Z"},"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","date":"2022-04-21T08:17:12Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -405,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:41:36 GMT + - Thu, 21 Apr 2022 08:19:23 GMT expires: - '-1' pragma: @@ -431,7 +431,7 @@ interactions: User-Agent: - python-requests/2.26.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json + 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 @@ -445,16 +445,19 @@ interactions: \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n - \ \"sku\": \"42.3\",\n \"version\": \"latest\"\n },\n + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n - \ \"offer\": \"SLES\",\n \"sku\": \"15\",\n \"version\": - \"latest\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\"\n }\n },\n - \ \"Windows\": {\n \"Win2019Datacenter\": {\n \"publisher\": + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": + {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n + \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n + \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n @@ -479,19 +482,19 @@ interactions: connection: - keep-alive content-length: - - '2525' + - '2744' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 date: - - Thu, 21 Apr 2022 06:41:36 GMT + - Thu, 21 Apr 2022 08:19:23 GMT etag: - - W/"54bceef15b892f2aa7f4c2145a49f1b5e33608722acdbb47933d7b6cbebbd7f4" + - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 21 Apr 2022 06:46:36 GMT + - Thu, 21 Apr 2022 08:24:23 GMT source-age: - - '235' + - '293' strict-transport-security: - max-age=31536000 vary: @@ -501,24 +504,129 @@ interactions: x-cache: - HIT x-cache-hits: - - '2' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 7733ae10a7cd37af621f7b168e67b3a5ce1426ac + - 0ca70c94e93790cf6f46be2ceff5103d472d0c3a x-frame-options: - deny x-github-request-id: - - E4E0:6A70:82168:B1E1A:6260ECA9 + - B7AC:5964:40E41:5DE69:6260830E x-served-by: - - cache-qpg1278-QPG + - cache-qpg1239-QPG x-timer: - - S1650523297.833603,VS0,VE0 + - S1650529164.916882,VS0,VE0 x-xss-protection: - 1; mode=block status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-password --admin-username --authentication-type + User-Agent: + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + 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=2021-11-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202204190\",\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.202204190\"\r\n + \ }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '286' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 21 Apr 2022 08:19:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-password --admin-username --authentication-type + User-Agent: + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + 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.202204190?api-version=2021-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 \"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.202204190\",\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.202204190\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '873' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 21 Apr 2022 08:19:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + status: + code: 200 + message: OK - request: body: null headers: @@ -533,7 +641,7 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -547,7 +655,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:41:37 GMT + - Thu, 21 Apr 2022 08:19:28 GMT expires: - '-1' pragma: @@ -583,7 +691,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": "2021-07-01", "type": "Microsoft.Compute/virtualMachines", "name": + {"apiVersion": "2021-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", @@ -591,9 +699,9 @@ interactions: "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm1", - "adminUsername": "testadmin", "adminPassword": "[parameters(''adminPassword'')]"}, - "additionalCapabilities": {}}}], "outputs": {}}, "parameters": {"adminPassword": - {"value": "TestPassword11!!"}}, "mode": "incremental"}}' + "adminUsername": "testadmin", "adminPassword": "[parameters(''adminPassword'')]"}}}], + "outputs": {}}, "parameters": {"adminPassword": {"value": "TestPassword11!!"}}, + "mode": "incremental"}}' headers: Accept: - application/json @@ -604,29 +712,29 @@ interactions: Connection: - keep-alive Content-Length: - - '3136' + - '3106' Content-Type: - application/json ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","name":"vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14301798715436807706","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T06:41:44.7513992Z","duration":"PT0.0008267S","correlationId":"ee7ba1e2-9fba-4a1c-8573-ce85bbbcbb05","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_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","name":"vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"252257417827391709","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T08:19:35.5362485Z","duration":"PT0.0003413S","correlationId":"92b987f3-ce06-41af-8a8f-4179bd625f3e","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_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa/operationStatuses/08585510835830637665?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF/operationStatuses/08585510777128718517?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2348' + - '2346' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:41:45 GMT + - Thu, 21 Apr 2022 08:19:36 GMT expires: - '-1' pragma: @@ -654,9 +762,9 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585510835830637665?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/08585510777128718517?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -668,7 +776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:16 GMT + - Thu, 21 Apr 2022 08:20:07 GMT expires: - '-1' pragma: @@ -696,9 +804,9 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585510835830637665?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/08585510777128718517?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -710,7 +818,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:46 GMT + - Thu, 21 Apr 2022 08:20:37 GMT expires: - '-1' pragma: @@ -738,21 +846,21 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","name":"vm_deploy_TnnYnTjJa4wfk2XPFNUnAojELvmfAwqa","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14301798715436807706","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T06:42:27.7377652Z","duration":"PT42.9871927S","correlationId":"ee7ba1e2-9fba-4a1c-8573-ce85bbbcbb05","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_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","name":"vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"252257417827391709","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T08:20:17.7950289Z","duration":"PT42.2591217S","correlationId":"92b987f3-ce06-41af-8a8f-4179bd625f3e","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: - - '3103' + - '3101' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:47 GMT + - Thu, 21 Apr 2022 08:20:38 GMT expires: - '-1' pragma: @@ -780,30 +888,31 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-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\": \"ca0d33b3-8881-4fe3-8151-d174d292e90f\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"845b7d79-5492-41e5-8e9e-708c86309934\",\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.202204190\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_89adb8cec71147959b37dc2c7fd2abdd\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_696735b8254b4f948a63be0b1c68132b\",\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_89adb8cec71147959b37dc2c7fd2abdd\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_696735b8254b4f948a63be0b1c68132b\"\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 },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + \"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\": @@ -812,27 +921,28 @@ interactions: [\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\": - \"2022-04-21T06:42:36+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_89adb8cec71147959b37dc2c7fd2abdd\",\r\n + \"2022-04-21T08:20:22+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_696735b8254b4f948a63be0b1c68132b\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-04-21T06:42:12.4422058+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T08:19:57.9463879+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\": \"2022-04-21T06:42:24.2079537+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T08:20:10.1338524+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 }\r\n}" + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-04-21T08:19:56.6338369+00:00\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3146' + - '3251' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:48 GMT + - Thu, 21 Apr 2022 08:20:39 GMT expires: - '-1' pragma: @@ -849,7 +959,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31982 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31970 status: code: 200 message: OK @@ -867,18 +977,18 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-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/\\\"55db601c-1a16-4a7d-873e-e0bd3c6e04a2\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"86b16b16-9abd-46f3-90f7-bd6abee73a35\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"43a8514a-312c-4b94-afa7-7c2b951bf144\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"46fd5bfc-1c73-4f11-95a2-9c26ffd29041\",\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/\\\"55db601c-1a16-4a7d-873e-e0bd3c6e04a2\\\"\",\r\n + \ \"etag\": \"W/\\\"86b16b16-9abd-46f3-90f7-bd6abee73a35\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -887,8 +997,8 @@ interactions: \ },\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\": - \"x3twnpw4focelme5hbhipwm0bc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-5B-6B-EC\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"1k2xbingzs0unp4ikdxjqillzc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-02-E2-5D\",\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 @@ -901,9 +1011,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:49 GMT + - Thu, 21 Apr 2022 08:20:40 GMT etag: - - W/"55db601c-1a16-4a7d-873e-e0bd3c6e04a2" + - W/"86b16b16-9abd-46f3-90f7-bd6abee73a35" expires: - '-1' pragma: @@ -920,7 +1030,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5d69c7b7-927d-4451-815b-00feccb5dd50 + - 55ca3bdd-a281-4365-8d51-48f74ba30d81 status: code: 200 message: OK @@ -938,17 +1048,17 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.31.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-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/\\\"13af7a0c-e9f4-4cf9-889d-c12142c9c0c9\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"13cb616c-7881-49a8-9ce8-44fa1ea8d6c5\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"e05c4258-1b5f-4606-a644-116be06600c0\",\r\n - \ \"ipAddress\": \"13.91.128.57\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"630abfaf-226f-4cc1-9090-e34fd685ca03\",\r\n + \ \"ipAddress\": \"137.116.184.12\",\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 }\r\n}" @@ -956,13 +1066,13 @@ interactions: cache-control: - no-cache content-length: - - '872' + - '874' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:49 GMT + - Thu, 21 Apr 2022 08:20:41 GMT etag: - - W/"13af7a0c-e9f4-4cf9-889d-c12142c9c0c9" + - W/"13cb616c-7881-49a8-9ce8-44fa1ea8d6c5" expires: - '-1' pragma: @@ -979,7 +1089,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c40d3c74-c476-41d1-aee5-4d78ac403a63 + - 6d9c17b3-9b55-429e-8fd6-f6917839a210 status: code: 200 message: OK @@ -1006,13 +1116,13 @@ interactions: ParameterSetName: - -g -n --location --rule-file User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1023,7 +1133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:42:58 GMT + - Thu, 21 Apr 2022 08:20:51 GMT expires: - '-1' pragma: @@ -1059,13 +1169,13 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1076,7 +1186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:01 GMT + - Thu, 21 Apr 2022 08:20:52 GMT expires: - '-1' pragma: @@ -1110,13 +1220,13 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1127,7 +1237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:03 GMT + - Thu, 21 Apr 2022 08:20:53 GMT expires: - '-1' pragma: @@ -1159,13 +1269,13 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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 @@ -1174,7 +1284,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:04 GMT + - Thu, 21 Apr 2022 08:20:56 GMT expires: - '-1' pragma: @@ -1186,8 +1296,8 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - fa855eb1-e5a4-4ee5-be4e-7dbc7f74dc64 - - 5b7b3e44-1833-4304-b376-9f57470dc423 + - fd61012f-e8ab-43b3-8d7e-60c4d0c19470 + - e65fb149-8020-435e-a8d2-c87726dc344b status: code: 200 message: OK @@ -1205,13 +1315,13 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090015fa-0000-0100-0000-6260fcf20000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:42:56.8898684Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1222,7 +1332,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:06 GMT + - Thu, 21 Apr 2022 08:20:59 GMT expires: - '-1' pragma: @@ -1265,13 +1375,13 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afa-0000-0100-0000-6260fcff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:10.9389309Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a003b75-0000-0100-0000-626113ed0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:01.0195356Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1282,7 +1392,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:13 GMT + - Thu, 21 Apr 2022 08:21:03 GMT expires: - '-1' pragma: @@ -1318,13 +1428,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afa-0000-0100-0000-6260fcff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:10.9389309Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a003b75-0000-0100-0000-626113ed0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:01.0195356Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1335,7 +1445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:15 GMT + - Thu, 21 Apr 2022 08:21:05 GMT expires: - '-1' pragma: @@ -1379,24 +1489,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:17 GMT + - Thu, 21 Apr 2022 08:21:07 GMT expires: - '-1' pragma: @@ -1432,24 +1542,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:19 GMT + - Thu, 21 Apr 2022 08:21:08 GMT expires: - '-1' pragma: @@ -1483,24 +1593,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:21 GMT + - Thu, 21 Apr 2022 08:21:09 GMT expires: - '-1' pragma: @@ -1534,24 +1644,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"09008cfa-0000-0100-0000-6260fd050000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:16.7098264Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:24 GMT + - Thu, 21 Apr 2022 08:21:11 GMT expires: - '-1' pragma: @@ -1595,24 +1705,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"40a7aafa-4cfd-490d-a54d-9e52b37d1714","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":"\"0900b4fa-0000-0100-0000-6260fd0e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:25.7744121Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"d3318639-7b8c-4428-a1d9-05abf9c4d757","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":"\"0a007375-0000-0100-0000-626113f90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:12.538267Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:26 GMT + - Thu, 21 Apr 2022 08:21:13 GMT expires: - '-1' pragma: @@ -1648,24 +1758,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"40a7aafa-4cfd-490d-a54d-9e52b37d1714","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":"\"0900b4fa-0000-0100-0000-6260fd0e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:25.7744121Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"d3318639-7b8c-4428-a1d9-05abf9c4d757","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":"\"0a007375-0000-0100-0000-626113f90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:12.538267Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1340' + - '1339' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:27 GMT + - Thu, 21 Apr 2022 08:21:15 GMT expires: - '-1' pragma: @@ -1708,13 +1818,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"0900c1fa-0000-0100-0000-6260fd100000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:28.2646855Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a008175-0000-0100-0000-626113fc0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:16.1125051Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1725,7 +1835,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:28 GMT + - Thu, 21 Apr 2022 08:21:16 GMT expires: - '-1' pragma: @@ -1762,13 +1872,13 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"0900c1fa-0000-0100-0000-6260fd100000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:28.2646855Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a008175-0000-0100-0000-626113fc0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:16.1125051Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1779,7 +1889,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:30 GMT + - Thu, 21 Apr 2022 08:21:18 GMT expires: - '-1' pragma: @@ -1825,14 +1935,14 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' + 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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1843,7 +1953,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:31 GMT + - Thu, 21 Apr 2022 08:21:19 GMT expires: - '-1' pragma: @@ -1879,14 +1989,14 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' + 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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1897,7 +2007,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:34 GMT + - Thu, 21 Apr 2022 08:21:20 GMT expires: - '-1' pragma: @@ -1931,14 +2041,14 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' + 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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -1949,7 +2059,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:36 GMT + - Thu, 21 Apr 2022 08:21:21 GMT expires: - '-1' pragma: @@ -1983,14 +2093,14 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900d0fa-0000-0100-0000-6260fd130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:31.3216827Z"}}' + 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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2001,7 +2111,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:38 GMT + - Thu, 21 Apr 2022 08:21:24 GMT expires: - '-1' pragma: @@ -2046,14 +2156,14 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900f9fa-0000-0100-0000-6260fd1b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:39.3858283Z"}}' + 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":"\"0a00bc75-0000-0100-0000-626114040000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:24.6673438Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2064,7 +2174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:39 GMT + - Thu, 21 Apr 2022 08:21:25 GMT expires: - '-1' pragma: @@ -2100,14 +2210,14 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0900f9fa-0000-0100-0000-6260fd1b0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:39.3858283Z"}}' + 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":"\"0a00bc75-0000-0100-0000-626114040000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:24.6673438Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2118,7 +2228,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:41 GMT + - Thu, 21 Apr 2022 08:21:28 GMT expires: - '-1' pragma: @@ -2161,13 +2271,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09000dfb-0000-0100-0000-6260fd1e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:42.7178588Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a00d875-0000-0100-0000-626114090000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:29.3969496Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2178,7 +2288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:42 GMT + - Thu, 21 Apr 2022 08:21:29 GMT expires: - '-1' pragma: @@ -2214,13 +2324,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09000dfb-0000-0100-0000-6260fd1e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:42.7178588Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a00d875-0000-0100-0000-626114090000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:29.3969496Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2231,7 +2341,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:43 GMT + - Thu, 21 Apr 2022 08:21:31 GMT expires: - '-1' pragma: @@ -2277,15 +2387,15 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' + = 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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2296,7 +2406,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:44 GMT + - Thu, 21 Apr 2022 08:21:32 GMT expires: - '-1' pragma: @@ -2314,7 +2424,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -2332,15 +2442,15 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' + = 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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2351,7 +2461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:45 GMT + - Thu, 21 Apr 2022 08:21:34 GMT expires: - '-1' pragma: @@ -2385,15 +2495,15 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' + = 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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2404,7 +2514,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:46 GMT + - Thu, 21 Apr 2022 08:21:37 GMT expires: - '-1' pragma: @@ -2438,15 +2548,15 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090010fb-0000-0100-0000-6260fd200000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:44.4678983Z"}}' + = 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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2457,7 +2567,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:48 GMT + - Thu, 21 Apr 2022 08:21:38 GMT expires: - '-1' pragma: @@ -2502,25 +2612,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090029fb-0000-0100-0000-6260fd250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:49.12195Z"}}' + = 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":"\"0a000a76-0000-0100-0000-626114130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:39.3001854Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1252' + - '1254' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:49 GMT + - Thu, 21 Apr 2022 08:21:39 GMT expires: - '-1' pragma: @@ -2538,7 +2648,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -2556,25 +2666,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"090029fb-0000-0100-0000-6260fd250000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:49.12195Z"}}' + = 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":"\"0a000a76-0000-0100-0000-626114130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:39.3001854Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1252' + - '1254' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:49 GMT + - Thu, 21 Apr 2022 08:21:41 GMT expires: - '-1' pragma: @@ -2617,13 +2727,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090035fb-0000-0100-0000-6260fd270000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:51.6241706Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001c76-0000-0100-0000-626114170000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:42.7746929Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2634,7 +2744,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:51 GMT + - Thu, 21 Apr 2022 08:21:42 GMT expires: - '-1' pragma: @@ -2652,7 +2762,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '147' + - '149' status: code: 200 message: OK @@ -2670,13 +2780,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090035fb-0000-0100-0000-6260fd270000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:51.6241706Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001c76-0000-0100-0000-626114170000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:42.7746929Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2687,7 +2797,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:53 GMT + - Thu, 21 Apr 2022 08:21:43 GMT expires: - '-1' pragma: @@ -2732,13 +2842,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2749,7 +2859,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:54 GMT + - Thu, 21 Apr 2022 08:21:44 GMT expires: - '-1' pragma: @@ -2785,13 +2895,13 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2802,7 +2912,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:56 GMT + - Thu, 21 Apr 2022 08:21:45 GMT expires: - '-1' pragma: @@ -2836,13 +2946,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2853,7 +2963,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:43:57 GMT + - Thu, 21 Apr 2022 08:21:46 GMT expires: - '-1' pragma: @@ -2887,13 +2997,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"090045fb-0000-0100-0000-6260fd2a0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:43:54.4582562Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2904,7 +3014,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:00 GMT + - Thu, 21 Apr 2022 08:21:49 GMT expires: - '-1' pragma: @@ -2949,13 +3059,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afb-0000-0100-0000-6260fd310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:00.9826303Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a004776-0000-0100-0000-6261141e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:49.9385102Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -2966,7 +3076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:00 GMT + - Thu, 21 Apr 2022 08:21:50 GMT expires: - '-1' pragma: @@ -3002,13 +3112,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09006afb-0000-0100-0000-6260fd310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:00.9826303Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a004776-0000-0100-0000-6261141e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:49.9385102Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3019,7 +3129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:02 GMT + - Thu, 21 Apr 2022 08:21:52 GMT expires: - '-1' pragma: @@ -3062,13 +3172,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09007dfb-0000-0100-0000-6260fd340000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:04.1302901Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a005876-0000-0100-0000-626114210000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:53.1184999Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3079,7 +3189,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:03 GMT + - Thu, 21 Apr 2022 08:21:52 GMT expires: - '-1' pragma: @@ -3115,13 +3225,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"\"09007dfb-0000-0100-0000-6260fd340000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:04.1302901Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a005876-0000-0100-0000-626114210000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:53.1184999Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3132,7 +3242,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:06 GMT + - Thu, 21 Apr 2022 08:21:55 GMT expires: - '-1' pragma: @@ -3176,13 +3286,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"090086fb-0000-0100-0000-6260fd370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:07.0253569Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a006776-0000-0100-0000-626114240000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:56.3559238Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3193,7 +3303,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:07 GMT + - Thu, 21 Apr 2022 08:21:56 GMT expires: - '-1' pragma: @@ -3211,7 +3321,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' status: code: 200 message: OK @@ -3229,13 +3339,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"090086fb-0000-0100-0000-6260fd370000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:07.0253569Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a006776-0000-0100-0000-626114240000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:56.3559238Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3246,7 +3356,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:10 GMT + - Thu, 21 Apr 2022 08:21:58 GMT expires: - '-1' pragma: @@ -3291,13 +3401,13 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"0900b2fb-0000-0100-0000-6260fd3f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:10.4439871Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a007f76-0000-0100-0000-626114280000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:59.9719174Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3308,7 +3418,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:15 GMT + - Thu, 21 Apr 2022 08:22:00 GMT expires: - '-1' pragma: @@ -3344,13 +3454,13 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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-7a650799974a4f239e1fe7d43c4a1ca3","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":"4f1daaf3-3ce3-4096-87c6-11759677d32c","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":"\"0900b2fb-0000-0100-0000-6260fd3f0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:42:56.8898684Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:10.4439871Z"}}' + string: '{"properties":{"immutableId":"dcr-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a007f76-0000-0100-0000-626114280000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:59.9719174Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3361,7 +3471,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:17 GMT + - Thu, 21 Apr 2022 08:22:02 GMT expires: - '-1' pragma: @@ -3399,12 +3509,12 @@ interactions: ParameterSetName: - --name --rule-id --resource User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}' + 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3415,7 +3525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:21 GMT + - Thu, 21 Apr 2022 08:22:07 GMT expires: - '-1' pragma: @@ -3451,12 +3561,12 @@ interactions: ParameterSetName: - --name --resource User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}' + 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3467,7 +3577,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:23 GMT + - Thu, 21 Apr 2022 08:22:08 GMT expires: - '-1' pragma: @@ -3501,7 +3611,7 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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: @@ -3517,7 +3627,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:24 GMT + - Thu, 21 Apr 2022 08:22:11 GMT expires: - '-1' pragma: @@ -3551,12 +3661,12 @@ interactions: ParameterSetName: - --resource User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}],"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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3567,7 +3677,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:26 GMT + - Thu, 21 Apr 2022 08:22:13 GMT expires: - '-1' pragma: @@ -3601,12 +3711,12 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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":"\"03000dbe-0000-0700-0000-6260fd440000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:18.8178517Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:18.8178517Z"}}' + 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3617,7 +3727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:27 GMT + - Thu, 21 Apr 2022 08:22:16 GMT expires: - '-1' pragma: @@ -3656,12 +3766,12 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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":"\"0300a8be-0000-0700-0000-6260fd4c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T06:44:28.5929052Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T06:44:28.5929052Z"}}' + 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":"\"05007be2-0000-0700-0000-626114390000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:16.9845938Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:16.9845938Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview @@ -3672,7 +3782,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 06:44:28 GMT + - Thu, 21 Apr 2022 08:22:17 GMT expires: - '-1' pragma: @@ -3710,7 +3820,7 @@ interactions: ParameterSetName: - -y --name --resource User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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: @@ -3724,7 +3834,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 06:44:31 GMT + - Thu, 21 Apr 2022 08:22:20 GMT expires: - '-1' pragma: @@ -3758,7 +3868,7 @@ interactions: ParameterSetName: - -y --name --resource-group User-Agent: - - AZURECLI/2.31.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) 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: @@ -3772,7 +3882,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 06:44:38 GMT + - Thu, 21 Apr 2022 08:22:27 GMT expires: - '-1' pragma: From d7ac1f26d8c08eaf4c76220ed1d6e3c92adc68fc Mon Sep 17 00:00:00 2001 From: necusjz Date: Thu, 21 Apr 2022 18:37:50 +0800 Subject: [PATCH 6/6] refine changelog --- src/monitor-control-service/HISTORY.rst | 10 +- .../test_amcs_data_collection_endpoint.yaml | 80 +- .../test_amcs_data_collection_rule.yaml | 58 +- ...est_monitor_control_service_commands.yaml} | 696 +++++++++--------- .../test_monitor_control_service_scenario.py | 2 +- src/monitor-control-service/setup.py | 2 +- 6 files changed, 425 insertions(+), 423 deletions(-) rename src/monitor-control-service/azext_amcs/tests/latest/recordings/{test_monitor_control_service_Scenario.yaml => test_monitor_control_service_commands.yaml} (79%) diff --git a/src/monitor-control-service/HISTORY.rst b/src/monitor-control-service/HISTORY.rst index a9fb90676a6..c9d4c8c6071 100644 --- a/src/monitor-control-service/HISTORY.rst +++ b/src/monitor-control-service/HISTORY.rst @@ -5,12 +5,10 @@ Release History 0.3.0 ++++++ -* 'az monitor data-collection rule create': add parameter '--rule-file' -* 'az monitor data-collection rule create': remove parameters '--data-flows' and '--log-analytics' -and '--monitor-metrics' and '--performance-counters' and '--windows-event-logs' and '--syslog' and '--extensions' -* 'az monitor data-collection rule association list': add parameter '--data-collection-endpoint-name' -* Bump up azure-mgmt-amcs SDK to 2021_09_01_preview - +* `az monitor data-collection rule create`: Add parameter --rule-file. +* `az monitor data-collection rule create`: Remove parameters --data-flows, --log-analytics, --monitor-metrics, --performance-counters, --windows-event-logs, --syslog and --extensions. +* `az monitor data-collection rule association list`: Add parameter --data-collection-endpoint-name. +* Bump api version from 2021-04-01 to 2021_09_01_preview. 0.2.0 ++++++ 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 5a77e0a2132..b876b4b543e 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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-21T08:26:10Z"},"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":"2022-04-21T09:49:54Z"},"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 08:26:14 GMT + - Thu, 21 Apr 2022 09:50:00 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e26c-0000-3300-0000-626115310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:22.2866318Z"}}' + 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"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '919' + - '915' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:26:27 GMT + - Thu, 21 Apr 2022 09:50:09 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e26c-0000-3300-0000-626115310000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:22.2866318Z"}}' + 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"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '919' + - '915' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:26:29 GMT + - Thu, 21 Apr 2022 09:50:12 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "kind": "Windows", "properties": {"immutableId": - "dce-c7d0afeee2f8421182b78b889e03bd56", "configurationAccess": {}, "logsIngestion": + "dce-6bf72b1e442446c9b5f294a243f33c11", "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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e76c-0000-3300-0000-626115380000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:31.3645737Z"}}' + 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"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '935' + - '931' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:26:34 GMT + - Thu, 21 Apr 2022 09:50:16 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest_amcs_endpoints000001?api-version=2021-04-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-21T08:26:10Z"},"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":"2022-04-21T09:49:54Z"},"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 08:26:35 GMT + - Thu, 21 Apr 2022 09:50:17 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-575ec617de6643f19722c790b96e93d7","configurationAccess":{"endpoint":"https://endpoint2-g3y5.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-g3y5.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":"\"0000ea6c-0000-3300-0000-626115430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:41.7830415Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:41.7830415Z"}}' + 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"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '933' + - '929' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:26:45 GMT + - Thu, 21 Apr 2022 09:50:29 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-575ec617de6643f19722c790b96e93d7","configurationAccess":{"endpoint":"https://endpoint2-g3y5.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-g3y5.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":"\"0000ea6c-0000-3300-0000-626115430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:41.7830415Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:41.7830415Z"}}' + 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"}}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '933' + - '929' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:26:47 GMT + - Thu, 21 Apr 2022 09:50:32 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.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e76c-0000-3300-0000-626115380000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:31.3645737Z"}},{"properties":{"immutableId":"dce-575ec617de6643f19722c790b96e93d7","configurationAccess":{"endpoint":"https://endpoint2-g3y5.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint2-g3y5.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":"\"0000ea6c-0000-3300-0000-626115430000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:41.7830415Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:41.7830415Z"}}],"nextLink":null}' + 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}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1897' + - '1889' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:26:50 GMT + - Thu, 21 Apr 2022 09:50:32 GMT expires: - '-1' pragma: @@ -421,12 +421,12 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - 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: '{"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-g3y5'' + 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."}}' headers: @@ -441,7 +441,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:26:54 GMT + - Thu, 21 Apr 2022 09:50:35 GMT expires: - '-1' pragma: @@ -477,7 +477,7 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - 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: @@ -489,7 +489,7 @@ interactions: cache-control: - no-cache date: - - Thu, 21 Apr 2022 08:27:01 GMT + - Thu, 21 Apr 2022 09:50:40 GMT expires: - '-1' pragma: @@ -521,23 +521,23 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-c7d0afeee2f8421182b78b889e03bd56","configurationAccess":{"endpoint":"https://endpoint1-79jg.eastus2euap-1.handler.canary.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://endpoint1-79jg.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":"\"0000e76c-0000-3300-0000-626115380000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:26:22.2866318Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:26:31.3645737Z"}}],"nextLink":null}' + 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}' headers: api-supported-versions: - 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '963' + - '959' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:04 GMT + - Thu, 21 Apr 2022 09:50:41 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml index 937d0acece4..3906feb9cfa 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_rule.yaml @@ -22,24 +22,24 @@ interactions: ParameterSetName: - --resource-group --location --name --rule-file User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15006458-0000-0800-0000-626115720000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:29.3970312Z"}}' + string: '{"properties":{"immutableId":"dcr-f6061dec0df342efa0ce098bc816649a","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1500a89e-0000-0800-0000-626128cc0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:03.3050825Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:03.3050825Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1028' + - '1024' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:32 GMT + - Thu, 21 Apr 2022 09:50:06 GMT expires: - '-1' pragma: @@ -75,24 +75,24 @@ interactions: ParameterSetName: - --resource-group --name --performance-counters User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15006458-0000-0800-0000-626115720000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:29.3970312Z"}}' + string: '{"properties":{"immutableId":"dcr-f6061dec0df342efa0ce098bc816649a","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":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1500a89e-0000-0800-0000-626128cc0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:03.3050825Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:03.3050825Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1028' + - '1024' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:34 GMT + - Thu, 21 Apr 2022 09:50:09 GMT expires: - '-1' pragma: @@ -135,24 +135,24 @@ interactions: ParameterSetName: - --resource-group --name --performance-counters User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15007858-0000-0800-0000-626115770000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:35.6290531Z"}}' + string: '{"properties":{"immutableId":"dcr-f6061dec0df342efa0ce098bc816649a","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1500bd9e-0000-0800-0000-626128d10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:03.3050825Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:09.5638593Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1030' + - '1026' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:36 GMT + - Thu, 21 Apr 2022 09:50:09 GMT expires: - '-1' pragma: @@ -188,24 +188,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: body: - string: '{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15007858-0000-0800-0000-626115770000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:35.6290531Z"}}' + string: '{"properties":{"immutableId":"dcr-f6061dec0df342efa0ce098bc816649a","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1500bd9e-0000-0800-0000-626128d10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:03.3050825Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:09.5638593Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1030' + - '1026' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:38 GMT + - Thu, 21 Apr 2022 09:50:10 GMT expires: - '-1' pragma: @@ -239,24 +239,24 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: body: - string: '{"value":[{"properties":{"immutableId":"dcr-d663af842f794226ab17986d26a83d4c","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor - Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"15007858-0000-0800-0000-626115770000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:27:29.3970312Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:27:35.6290531Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-f6061dec0df342efa0ce098bc816649a","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":20,"counterSpecifiers":["[\\Processor + Information(_Total)\\% Processor Time]"],"name":"perfCounter02"}]},"destinations":{"azureMonitorMetrics":{"name":"azureMonitorMetrics-default"}},"dataFlows":[{"streams":["Microsoft-InsightsMetrics"],"destinations":["azureMonitorMetrics-default"]}],"provisioningState":"Succeeded"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule","name":"testrule","type":"Microsoft.Insights/dataCollectionRules","etag":"\"1500bd9e-0000-0800-0000-626128d10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:50:03.3050825Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:50:09.5638593Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1058' + - '1054' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:40 GMT + - Thu, 21 Apr 2022 09:50:12 GMT expires: - '-1' pragma: @@ -292,7 +292,7 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - 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_rule000001/providers/Microsoft.Insights/dataCollectionRules/testrule?api-version=2021-09-01-preview response: @@ -306,7 +306,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 08:27:47 GMT + - Thu, 21 Apr 2022 09:50:24 GMT expires: - '-1' pragma: @@ -338,7 +338,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest_amcs_rule000001/providers/Microsoft.Insights/dataCollectionRules?api-version=2021-09-01-preview response: @@ -352,7 +352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:27:48 GMT + - Thu, 21 Apr 2022 09:50:24 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml similarity index 79% rename from src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml rename to src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml index 90e943215e4..2d9b48a4cbd 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_Scenario.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml @@ -19,23 +19,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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\": - \"e6c6b374-4a46-4411-ab06-e84a3ca412db\",\r\n \"provisioningState\": \"Creating\",\r\n + \"1590dd03-3d49-4656-ad81-2d5c91d6112d\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:17:25 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 09:50:06 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\": \"Thu, 21 Apr 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Fri, 22 Apr 2022 00:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 08:17:25 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 08:17:25 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 09:50:06 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 09:50:06 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}" headers: @@ -46,7 +46,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:17:26 GMT + - Thu, 21 Apr 2022 09:50:06 GMT pragma: - no-cache server: @@ -78,23 +78,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"e6c6b374-4a46-4411-ab06-e84a3ca412db\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"1590dd03-3d49-4656-ad81-2d5c91d6112d\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:17:25 GMT\"\r\n },\r\n + 100,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 09:50:06 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\": \"Thu, 21 Apr 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Fri, 22 Apr 2022 00:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 08:17:25 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 08:17:26 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Thu, 21 Apr 2022 09:50:06 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 09:50:07 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}" headers: @@ -105,7 +105,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:17:56 GMT + - Thu, 21 Apr 2022 09:50:37 GMT pragma: - no-cache server: @@ -145,23 +145,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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\": - \"ea130c35-8ea9-419b-83c8-7110b1333b07\",\r\n \"provisioningState\": \"Creating\",\r\n + \"8c9185a6-f7c0-45d3-9a67-d217af2b4aad\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:04 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 09:50:45 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\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Fri, 22 Apr 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 08:18:04 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 08:18:04 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 09:50:45 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 09:50:45 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}" headers: @@ -172,7 +172,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:18:06 GMT + - Thu, 21 Apr 2022 09:50:46 GMT pragma: - no-cache server: @@ -204,23 +204,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"ea130c35-8ea9-419b-83c8-7110b1333b07\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"8c9185a6-f7c0-45d3-9a67-d217af2b4aad\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:04 GMT\"\r\n },\r\n + 300,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 09:50:45 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\": \"Thu, 21 Apr 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Fri, 22 Apr 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 08:18:04 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 08:18:06 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Thu, 21 Apr 2022 09:50:45 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 09:50:47 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}" headers: @@ -231,7 +231,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:18:37 GMT + - Thu, 21 Apr 2022 09:51:16 GMT pragma: - no-cache server: @@ -271,23 +271,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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\": - \"d3318639-7b8c-4428-a1d9-05abf9c4d757\",\r\n \"provisioningState\": \"Creating\",\r\n + \"210b5382-4bb1-4076-b5b1-676e54a84e9d\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:49 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 09:51:23 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\": \"Thu, 21 Apr 2022 17:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 08:18:49 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 08:18:49 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 09:51:23 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 09:51: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}" headers: @@ -298,7 +298,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:18:50 GMT + - Thu, 21 Apr 2022 09:51:24 GMT pragma: - no-cache server: @@ -330,23 +330,23 @@ interactions: ParameterSetName: - -g -n --location --quota --level --sku User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"d3318639-7b8c-4428-a1d9-05abf9c4d757\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"210b5382-4bb1-4076-b5b1-676e54a84e9d\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": - 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 08:18:49 GMT\"\r\n },\r\n + 200,\r\n \"lastSkuUpdate\": \"Thu, 21 Apr 2022 09:51:23 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\": \"Thu, 21 Apr 2022 17:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 21 Apr 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Thu, 21 Apr 2022 08:18:49 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr - 2022 08:18:50 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/microsoft.operationalinsights/workspaces/clitest000004\",\r\n + \"Thu, 21 Apr 2022 09:51:23 GMT\",\r\n \"modifiedDate\": \"Thu, 21 Apr + 2022 09:51:26 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}" headers: @@ -357,7 +357,7 @@ interactions: content-type: - application/json date: - - Thu, 21 Apr 2022 08:19:20 GMT + - Thu, 21 Apr 2022 09:51:55 GMT pragma: - no-cache server: @@ -391,12 +391,12 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-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":"2022-04-21T08:17:12Z"},"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","date":"2022-04-21T09:49:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -405,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:19:23 GMT + - Thu, 21 Apr 2022 09:51:55 GMT expires: - '-1' pragma: @@ -488,13 +488,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 21 Apr 2022 08:19:23 GMT + - Thu, 21 Apr 2022 09:51:56 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 21 Apr 2022 08:24:23 GMT + - Thu, 21 Apr 2022 09:56:56 GMT source-age: - - '293' + - '273' strict-transport-security: - max-age=31536000 vary: @@ -508,15 +508,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 0ca70c94e93790cf6f46be2ceff5103d472d0c3a + - 9398f5b7d6f9aeb7e27060cf29251477ef147e79 x-frame-options: - deny x-github-request-id: - B7AC:5964:40E41:5DE69:6260830E x-served-by: - - cache-qpg1239-QPG + - cache-qpg1258-QPG x-timer: - - S1650529164.916882,VS0,VE0 + - S1650534717.504945,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -536,7 +536,7 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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=2021-11-01 response: @@ -552,7 +552,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:19:24 GMT + - Thu, 21 Apr 2022 09:51:57 GMT expires: - '-1' pragma: @@ -587,7 +587,7 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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.202204190?api-version=2021-11-01 response: @@ -610,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:19:26 GMT + - Thu, 21 Apr 2022 09:51:59 GMT expires: - '-1' pragma: @@ -620,6 +620,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: @@ -641,7 +645,7 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -655,7 +659,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:19:28 GMT + - Thu, 21 Apr 2022 09:52:00 GMT expires: - '-1' pragma: @@ -718,23 +722,23 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","name":"vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"252257417827391709","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T08:19:35.5362485Z","duration":"PT0.0003413S","correlationId":"92b987f3-ce06-41af-8a8f-4179bd625f3e","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_u8UGciNk5xm8gYddlDfSRapMOjpMMVac","name":"vm_deploy_u8UGciNk5xm8gYddlDfSRapMOjpMMVac","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10918816366699461988","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-04-21T09:52:07.2997948Z","duration":"PT0.0009946S","correlationId":"0bcfdeaf-4dbf-4202-bf4f-a4a70d441ef8","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_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF/operationStatuses/08585510777128718517?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_u8UGciNk5xm8gYddlDfSRapMOjpMMVac/operationStatuses/08585510721605616331?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2346' + - '2348' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:19:36 GMT + - Thu, 21 Apr 2022 09:52:08 GMT expires: - '-1' pragma: @@ -762,9 +766,9 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585510777128718517?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/08585510721605616331?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -776,7 +780,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:07 GMT + - Thu, 21 Apr 2022 09:52:38 GMT expires: - '-1' pragma: @@ -804,9 +808,9 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585510777128718517?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/08585510721605616331?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -818,7 +822,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:37 GMT + - Thu, 21 Apr 2022 09:53:09 GMT expires: - '-1' pragma: @@ -846,12 +850,12 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","name":"vm_deploy_71s2dPQ7sWgK4hhlZ9WHRx1nzdQGh6sF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"252257417827391709","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T08:20:17.7950289Z","duration":"PT42.2591217S","correlationId":"92b987f3-ce06-41af-8a8f-4179bd625f3e","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_u8UGciNk5xm8gYddlDfSRapMOjpMMVac","name":"vm_deploy_u8UGciNk5xm8gYddlDfSRapMOjpMMVac","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10918816366699461988","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-04-21T09:52:50.85723Z","duration":"PT43.5584298S","correlationId":"0bcfdeaf-4dbf-4202-bf4f-a4a70d441ef8","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 @@ -860,7 +864,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:38 GMT + - Thu, 21 Apr 2022 09:53:09 GMT expires: - '-1' pragma: @@ -888,23 +892,23 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-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\": \"845b7d79-5492-41e5-8e9e-708c86309934\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"26174098-5166-4a0f-b38d-435b7b97d1c7\",\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.202204190\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_696735b8254b4f948a63be0b1c68132b\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_77f0589299524d61b00fe47dee0c1c05\",\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_696735b8254b4f948a63be0b1c68132b\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm1_disk1_77f0589299524d61b00fe47dee0c1c05\"\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 @@ -921,18 +925,18 @@ interactions: [\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\": - \"2022-04-21T08:20:22+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_696735b8254b4f948a63be0b1c68132b\",\r\n + \"2022-04-21T09:53:00+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_77f0589299524d61b00fe47dee0c1c05\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-04-21T08:19:57.9463879+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T09:52:34.4664924+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\": \"2022-04-21T08:20:10.1338524+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-04-21T09:52:47.3256997+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\": \"2022-04-21T08:19:56.6338369+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-04-21T09:52:33.0758633+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -942,7 +946,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:39 GMT + - Thu, 21 Apr 2022 09:53:11 GMT expires: - '-1' pragma: @@ -959,7 +963,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31970 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31959 status: code: 200 message: OK @@ -977,18 +981,18 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-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/\\\"86b16b16-9abd-46f3-90f7-bd6abee73a35\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"e78665fe-cdac-45b8-9abd-dae0cd90c7bc\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"46fd5bfc-1c73-4f11-95a2-9c26ffd29041\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"f6c4095d-1948-45ef-b97e-eee8683ee489\",\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/\\\"86b16b16-9abd-46f3-90f7-bd6abee73a35\\\"\",\r\n + \ \"etag\": \"W/\\\"e78665fe-cdac-45b8-9abd-dae0cd90c7bc\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -997,8 +1001,8 @@ interactions: \ },\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\": - \"1k2xbingzs0unp4ikdxjqillzc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-02-E2-5D\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"vtatbegtds3e3kxl2svh0bwggb.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-5A-F5-64\",\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 @@ -1011,9 +1015,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:40 GMT + - Thu, 21 Apr 2022 09:53:11 GMT etag: - - W/"86b16b16-9abd-46f3-90f7-bd6abee73a35" + - W/"e78665fe-cdac-45b8-9abd-dae0cd90c7bc" expires: - '-1' pragma: @@ -1030,7 +1034,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 55ca3bdd-a281-4365-8d51-48f74ba30d81 + - 631b0187-51db-4c0b-bb84-d6b2b9280720 status: code: 200 message: OK @@ -1048,17 +1052,17 @@ interactions: ParameterSetName: - -g -n --image --admin-password --admin-username --authentication-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-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/\\\"13cb616c-7881-49a8-9ce8-44fa1ea8d6c5\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"428175b5-18e8-42b9-be6e-564fbf0663e5\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"630abfaf-226f-4cc1-9090-e34fd685ca03\",\r\n - \ \"ipAddress\": \"137.116.184.12\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"746d33b7-0cc1-475c-9214-23b0e56b7ab7\",\r\n + \ \"ipAddress\": \"157.56.164.63\",\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 }\r\n}" @@ -1066,13 +1070,13 @@ interactions: cache-control: - no-cache content-length: - - '874' + - '873' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:41 GMT + - Thu, 21 Apr 2022 09:53:12 GMT etag: - - W/"13cb616c-7881-49a8-9ce8-44fa1ea8d6c5" + - W/"428175b5-18e8-42b9-be6e-564fbf0663e5" expires: - '-1' pragma: @@ -1089,7 +1093,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6d9c17b3-9b55-429e-8fd6-f6917839a210 + - 429eaa0f-78fb-49f3-83f4-f03b6d4115f0 status: code: 200 message: OK @@ -1116,24 +1120,24 @@ interactions: ParameterSetName: - -g -n --location --rule-file User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e6d9-0000-0100-0000-626129900000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:19.2668365Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1033' + - '1029' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:51 GMT + - Thu, 21 Apr 2022 09:53:21 GMT expires: - '-1' pragma: @@ -1169,24 +1173,24 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e6d9-0000-0100-0000-626129900000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:19.2668365Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1033' + - '1029' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:52 GMT + - Thu, 21 Apr 2022 09:53:23 GMT expires: - '-1' pragma: @@ -1220,24 +1224,24 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}],"nextLink":null}' + string: '{"value":[{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e6d9-0000-0100-0000-626129900000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:19.2668365Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1061' + - '1057' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:53 GMT + - Thu, 21 Apr 2022 09:53:25 GMT expires: - '-1' pragma: @@ -1269,22 +1273,22 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e6d9-0000-0100-0000-626129900000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:19.2668365Z"}},{"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":"\"1a006c31-0000-0800-0000-6258ea560000\"","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":"\"1a006d31-0000-0800-0000-6258ea570000\"","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":"\"1a006e31-0000-0800-0000-6258ea570000\"","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":"\"1a007131-0000-0800-0000-6258ea580000\"","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: - - '8619' + - '8615' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:56 GMT + - Thu, 21 Apr 2022 09:53:27 GMT expires: - '-1' pragma: @@ -1296,8 +1300,8 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - fd61012f-e8ab-43b3-8d7e-60c4d0c19470 - - e65fb149-8020-435e-a8d2-c87726dc344b + - e2a2ec4c-c090-4445-93eb-07c7ab4d4229 + - f6dc8c78-7186-44ed-82fe-f28e1c926b12 status: code: 200 message: OK @@ -1315,24 +1319,24 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001075-0000-0100-0000-626113e10000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:20:48.5196084Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e6d9-0000-0100-0000-626129900000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:19.2668365Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1033' + - '1029' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:20:59 GMT + - Thu, 21 Apr 2022 09:53:30 GMT expires: - '-1' pragma: @@ -1375,24 +1379,24 @@ interactions: ParameterSetName: - --tags --name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a003b75-0000-0100-0000-626113ed0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:01.0195356Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a001cda-0000-0100-0000-6261299d0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:32.8480071Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1075' + - '1071' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:03 GMT + - Thu, 21 Apr 2022 09:53:35 GMT expires: - '-1' pragma: @@ -1428,24 +1432,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a003b75-0000-0100-0000-626113ed0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:01.0195356Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a001cda-0000-0100-0000-6261299d0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:32.8480071Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1075' + - '1071' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:05 GMT + - Thu, 21 Apr 2022 09:53:37 GMT expires: - '-1' pragma: @@ -1489,24 +1493,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a0036da-0000-0100-0000-626129a30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:38.486709Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1335' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:07 GMT + - Thu, 21 Apr 2022 09:53:38 GMT expires: - '-1' pragma: @@ -1542,24 +1546,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a0036da-0000-0100-0000-626129a30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:38.486709Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1335' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:08 GMT + - Thu, 21 Apr 2022 09:53:41 GMT expires: - '-1' pragma: @@ -1593,24 +1597,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a0036da-0000-0100-0000-626129a30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:38.486709Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1335' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:09 GMT + - Thu, 21 Apr 2022 09:53:42 GMT expires: - '-1' pragma: @@ -1644,24 +1648,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a005375-0000-0100-0000-626113f30000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:06.560766Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a0036da-0000-0100-0000-626129a30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:38.486709Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1335' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:11 GMT + - Thu, 21 Apr 2022 09:53:45 GMT expires: - '-1' pragma: @@ -1705,24 +1709,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"d3318639-7b8c-4428-a1d9-05abf9c4d757","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":"\"0a007375-0000-0100-0000-626113f90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:12.538267Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"210b5382-4bb1-4076-b5b1-676e54a84e9d","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":"\"0a0058da-0000-0100-0000-626129aa0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:46.2582769Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1336' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:13 GMT + - Thu, 21 Apr 2022 09:53:47 GMT expires: - '-1' pragma: @@ -1758,24 +1762,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"d3318639-7b8c-4428-a1d9-05abf9c4d757","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":"\"0a007375-0000-0100-0000-626113f90000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:12.538267Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"210b5382-4bb1-4076-b5b1-676e54a84e9d","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":"\"0a0058da-0000-0100-0000-626129aa0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:46.2582769Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1339' + - '1336' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:15 GMT + - Thu, 21 Apr 2022 09:53:48 GMT expires: - '-1' pragma: @@ -1818,24 +1822,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a008175-0000-0100-0000-626113fc0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:16.1125051Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a0069da-0000-0100-0000-626129ad0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:49.5445369Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1093' + - '1089' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:16 GMT + - Thu, 21 Apr 2022 09:53:49 GMT expires: - '-1' pragma: @@ -1872,24 +1876,24 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a008175-0000-0100-0000-626113fc0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:16.1125051Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a0069da-0000-0100-0000-626129ad0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:49.5445369Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1093' + - '1089' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:18 GMT + - Thu, 21 Apr 2022 09:53:50 GMT expires: - '-1' pragma: @@ -1935,25 +1939,25 @@ interactions: - --rule-name --resource-group --name --counter-specifiers --sampling-frequency --streams User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' + 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":"\"0a0070da-0000-0100-0000-626129af0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:51.1226656Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1265' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:19 GMT + - Thu, 21 Apr 2022 09:53:50 GMT expires: - '-1' pragma: @@ -1971,7 +1975,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -1989,25 +1993,25 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' + 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":"\"0a0070da-0000-0100-0000-626129af0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:51.1226656Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1265' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:20 GMT + - Thu, 21 Apr 2022 09:53:51 GMT expires: - '-1' pragma: @@ -2041,25 +2045,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' + 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":"\"0a0070da-0000-0100-0000-626129af0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:51.1226656Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1265' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:21 GMT + - Thu, 21 Apr 2022 09:53:52 GMT expires: - '-1' pragma: @@ -2093,25 +2097,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a009f75-0000-0100-0000-626113ff0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:19.3810523Z"}}' + 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":"\"0a0070da-0000-0100-0000-626129af0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:51.1226656Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1269' + - '1265' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:24 GMT + - Thu, 21 Apr 2022 09:53:54 GMT expires: - '-1' pragma: @@ -2156,25 +2160,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --counter-specifiers User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a00bc75-0000-0100-0000-626114040000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:24.6673438Z"}}' + 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":"\"0a008ada-0000-0100-0000-626129b30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:55.5045857Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1241' + - '1237' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:25 GMT + - Thu, 21 Apr 2022 09:53:55 GMT expires: - '-1' pragma: @@ -2210,25 +2214,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a00bc75-0000-0100-0000-626114040000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:24.6673438Z"}}' + 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":"\"0a008ada-0000-0100-0000-626129b30000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:55.5045857Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1241' + - '1237' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:28 GMT + - Thu, 21 Apr 2022 09:53:56 GMT expires: - '-1' pragma: @@ -2271,24 +2275,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a00d875-0000-0100-0000-626114090000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:29.3969496Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a0090da-0000-0100-0000-626129b50000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:57.0315067Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1093' + - '1089' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:29 GMT + - Thu, 21 Apr 2022 09:53:56 GMT expires: - '-1' pragma: @@ -2324,24 +2328,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a00d875-0000-0100-0000-626114090000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:29.3969496Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a0090da-0000-0100-0000-626129b50000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:57.0315067Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1093' + - '1089' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:31 GMT + - Thu, 21 Apr 2022 09:53:58 GMT expires: - '-1' pragma: @@ -2387,26 +2391,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --streams --x-path-queries User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' + = 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":"\"0a00a4da-0000-0100-0000-626129b80000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:59.9590825Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1311' + - '1307' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:32 GMT + - Thu, 21 Apr 2022 09:53:59 GMT expires: - '-1' pragma: @@ -2442,26 +2446,26 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' + = 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":"\"0a00a4da-0000-0100-0000-626129b80000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:59.9590825Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1311' + - '1307' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:34 GMT + - Thu, 21 Apr 2022 09:54:01 GMT expires: - '-1' pragma: @@ -2495,26 +2499,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' + = 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":"\"0a00a4da-0000-0100-0000-626129b80000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:59.9590825Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1311' + - '1307' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:37 GMT + - Thu, 21 Apr 2022 09:54:05 GMT expires: - '-1' pragma: @@ -2548,26 +2552,26 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a00ec75-0000-0100-0000-6261140c0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:32.4781281Z"}}' + = 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":"\"0a00a4da-0000-0100-0000-626129b80000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:53:59.9590825Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1311' + - '1307' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:38 GMT + - Thu, 21 Apr 2022 09:54:06 GMT expires: - '-1' pragma: @@ -2612,25 +2616,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --x-path-queries User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a000a76-0000-0100-0000-626114130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:39.3001854Z"}}' + = 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":"\"0a00d0da-0000-0100-0000-626129bf0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:07.4785054Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1254' + - '1250' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:39 GMT + - Thu, 21 Apr 2022 09:54:07 GMT expires: - '-1' pragma: @@ -2666,25 +2670,25 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"counterSpecifiers":["\\Processor + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","dataSources":{"performanceCounters":[{"streams":["Microsoft-InsightsMetrics"],"samplingFrequencyInSeconds":10,"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":"\"0a000a76-0000-0100-0000-626114130000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:39.3001854Z"}}' + = 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":"\"0a00d0da-0000-0100-0000-626129bf0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:07.4785054Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1254' + - '1250' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:41 GMT + - Thu, 21 Apr 2022 09:54:07 GMT expires: - '-1' pragma: @@ -2727,24 +2731,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001c76-0000-0100-0000-626114170000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:42.7746929Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00d5da-0000-0100-0000-626129c10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:09.0043117Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1115' + - '1111' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:42 GMT + - Thu, 21 Apr 2022 09:54:08 GMT expires: - '-1' pragma: @@ -2762,7 +2766,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -2780,24 +2784,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a001c76-0000-0100-0000-626114170000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:42.7746929Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00d5da-0000-0100-0000-626129c10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:09.0043117Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1115' + - '1111' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:43 GMT + - Thu, 21 Apr 2022 09:54:10 GMT expires: - '-1' pragma: @@ -2842,24 +2846,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --facility-names --log-levels --streams User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e2da-0000-0100-0000-626129c20000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:10.503311Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1249' + - '1244' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:44 GMT + - Thu, 21 Apr 2022 09:54:10 GMT expires: - '-1' pragma: @@ -2877,7 +2881,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' status: code: 200 message: OK @@ -2895,24 +2899,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e2da-0000-0100-0000-626129c20000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:10.503311Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1249' + - '1244' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:45 GMT + - Thu, 21 Apr 2022 09:54:12 GMT expires: - '-1' pragma: @@ -2946,24 +2950,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e2da-0000-0100-0000-626129c20000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:10.503311Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1249' + - '1244' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:46 GMT + - Thu, 21 Apr 2022 09:54:14 GMT expires: - '-1' pragma: @@ -2997,24 +3001,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a002a76-0000-0100-0000-626114180000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:44.5375456Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00e2da-0000-0100-0000-626129c20000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:10.503311Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1249' + - '1244' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:49 GMT + - Thu, 21 Apr 2022 09:54:16 GMT expires: - '-1' pragma: @@ -3059,24 +3063,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --log-levels User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a004776-0000-0100-0000-6261141e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:49.9385102Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00fbda-0000-0100-0000-626129c90000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:17.4468346Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1241' + - '1237' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:50 GMT + - Thu, 21 Apr 2022 09:54:17 GMT expires: - '-1' pragma: @@ -3112,24 +3116,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a004776-0000-0100-0000-6261141e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:49.9385102Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a00fbda-0000-0100-0000-626129c90000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:17.4468346Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1241' + - '1237' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:52 GMT + - Thu, 21 Apr 2022 09:54:19 GMT expires: - '-1' pragma: @@ -3172,24 +3176,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a005876-0000-0100-0000-626114210000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:53.1184999Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a000edb-0000-0100-0000-626129cc0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:20.2348366Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1127' + - '1123' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:52 GMT + - Thu, 21 Apr 2022 09:54:20 GMT expires: - '-1' pragma: @@ -3225,24 +3229,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"\"0a005876-0000-0100-0000-626114210000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:53.1184999Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"\"0a000edb-0000-0100-0000-626129cc0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:20.2348366Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1127' + - '1123' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:55 GMT + - Thu, 21 Apr 2022 09:54:22 GMT expires: - '-1' pragma: @@ -3286,24 +3290,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --name --resource-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a006776-0000-0100-0000-626114240000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:56.3559238Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a0024db-0000-0100-0000-626129cf0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:23.0729691Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1374' + - '1370' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:56 GMT + - Thu, 21 Apr 2022 09:54:23 GMT expires: - '-1' pragma: @@ -3339,24 +3343,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a006776-0000-0100-0000-626114240000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:56.3559238Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a0024db-0000-0100-0000-626129cf0000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:23.0729691Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1374' + - '1370' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:21:58 GMT + - Thu, 21 Apr 2022 09:54:24 GMT expires: - '-1' pragma: @@ -3401,24 +3405,24 @@ interactions: ParameterSetName: - --rule-name --resource-group --destinations --streams User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a007f76-0000-0100-0000-626114280000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:59.9719174Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a002ddb-0000-0100-0000-626129d10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:25.1662254Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1438' + - '1434' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:00 GMT + - Thu, 21 Apr 2022 09:54:26 GMT expires: - '-1' pragma: @@ -3454,24 +3458,24 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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-a5ba8427d0fd4f5e9c86387a33d04b04","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":"ea130c35-8ea9-419b-83c8-7110b1333b07","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":"\"0a007f76-0000-0100-0000-626114280000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:20:48.5196084Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:21:59.9719174Z"}}' + string: '{"properties":{"immutableId":"dcr-adbc950d1b5b4195b7f80f1fdd00daf7","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":"8c9185a6-f7c0-45d3-9a67-d217af2b4aad","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":"\"0a002ddb-0000-0100-0000-626129d10000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:53:19.2668365Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:25.1662254Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '1438' + - '1434' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:02 GMT + - Thu, 21 Apr 2022 09:54:27 GMT expires: - '-1' pragma: @@ -3509,23 +3513,23 @@ interactions: ParameterSetName: - --name --rule-id --resource User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}' + 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":"\"0700a8e1-0000-0700-0000-626129d50000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:54:27.7749913Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:27.7749913Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '772' + - '768' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:07 GMT + - Thu, 21 Apr 2022 09:54:29 GMT expires: - '-1' pragma: @@ -3561,23 +3565,23 @@ interactions: ParameterSetName: - --name --resource User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}' + 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":"\"0700a8e1-0000-0700-0000-626129d50000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:54:27.7749913Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:27.7749913Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '772' + - '768' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:08 GMT + - Thu, 21 Apr 2022 09:54:31 GMT expires: - '-1' pragma: @@ -3611,7 +3615,7 @@ interactions: ParameterSetName: - --rule-name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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: @@ -3627,7 +3631,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:11 GMT + - Thu, 21 Apr 2022 09:54:36 GMT expires: - '-1' pragma: @@ -3661,23 +3665,23 @@ interactions: ParameterSetName: - --resource User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}],"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":"\"0700a8e1-0000-0700-0000-626129d50000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:54:27.7749913Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:27.7749913Z"}}],"nextLink":null}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '800' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:13 GMT + - Thu, 21 Apr 2022 09:54:37 GMT expires: - '-1' pragma: @@ -3711,23 +3715,23 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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":"\"050062e1-0000-0700-0000-6261142e0000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:04.5534765Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:04.5534765Z"}}' + 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":"\"0700a8e1-0000-0700-0000-626129d50000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:54:27.7749913Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:27.7749913Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '772' + - '768' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:16 GMT + - Thu, 21 Apr 2022 09:54:39 GMT expires: - '-1' pragma: @@ -3766,23 +3770,23 @@ interactions: ParameterSetName: - --name --resource --description User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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":"\"05007be2-0000-0700-0000-626114390000\"","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2022-04-21T08:22:16.9845938Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T08:22:16.9845938Z"}}' + 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":"\"070061e3-0000-0700-0000-626129e00000\"","systemData":{"createdBy":"ethanyang@microsoft.com","createdByType":"User","createdAt":"2022-04-21T09:54:40.1667561Z","lastModifiedBy":"ethanyang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-21T09:54:40.1667561Z"}}' headers: api-supported-versions: - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview cache-control: - no-cache content-length: - - '808' + - '804' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Apr 2022 08:22:17 GMT + - Thu, 21 Apr 2022 09:54:40 GMT expires: - '-1' pragma: @@ -3820,7 +3824,7 @@ interactions: ParameterSetName: - -y --name --resource User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - 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/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation?api-version=2021-09-01-preview response: @@ -3834,7 +3838,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 08:22:20 GMT + - Thu, 21 Apr 2022 09:54:42 GMT expires: - '-1' pragma: @@ -3868,7 +3872,7 @@ interactions: ParameterSetName: - -y --name --resource-group User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + - 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/clitest000001/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2021-09-01-preview response: @@ -3882,7 +3886,7 @@ interactions: content-length: - '0' date: - - Thu, 21 Apr 2022 08:22:27 GMT + - Thu, 21 Apr 2022 09:54:49 GMT expires: - '-1' pragma: diff --git a/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py b/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py index d47a35456c5..d2a2244d31e 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py +++ b/src/monitor-control-service/azext_amcs/tests/latest/test_monitor_control_service_scenario.py @@ -494,7 +494,7 @@ class Monitor_control_serviceScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='clitestmonitor_control_service_myResourceGroup'[:7], key='rg', parameter_name='rg') - def test_monitor_control_service_scenario(self, rg): + def test_monitor_control_service_commands(self, rg): self.kwargs.update({ 'subscription_id': self.get_subscription_id() }) diff --git a/src/monitor-control-service/setup.py b/src/monitor-control-service/setup.py index 13e510e0e44..7eb3a2e0ed5 100644 --- a/src/monitor-control-service/setup.py +++ b/src/monitor-control-service/setup.py @@ -48,7 +48,7 @@ description='Microsoft Azure Command-Line Tools MonitorClient Extension', author='Microsoft Corporation', author_email='azpycli@microsoft.com', - url='https://github.com/Azure/azure-cli-extensions/tree/master/src/monitor-control-service', + url='https://github.com/Azure/azure-cli-extensions/tree/main/src/monitor-control-service', long_description=README + '\n\n' + HISTORY, license='MIT', classifiers=CLASSIFIERS,