From 9097bf8225630718f36f4ee0218e4ae45f7041a7 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Wed, 22 Jun 2022 12:49:28 +0200 Subject: [PATCH 01/12] added notification feature to azure amg --- src/amg/azext_amg/_params.py | 4 +++ src/amg/azext_amg/commands.py | 9 ++++++ src/amg/azext_amg/custom.py | 52 +++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) diff --git a/src/amg/azext_amg/_params.py b/src/amg/azext_amg/_params.py index d31cf84387d..8d502af653e 100644 --- a/src/amg/azext_amg/_params.py +++ b/src/amg/azext_amg/_params.py @@ -43,6 +43,10 @@ def load_arguments(self, _): c.argument("data_source", help="name, id, uid which can identify a data source. CLI will search in the order of name, id, and uid, till finds a match") c.argument("definition", help="json string with data source definition, or a path to a file with such content") + with self.argument_context("grafana notification-channel") as c: + c.argument("notification_channel", help="id, uid which can identify a data source. CLI will search in the order of id, and uid, till finds a match") + c.argument("definition", help="json string with notification channel definition, or a path to a file with such content") + with self.argument_context("grafana data-source query") as c: c.argument("conditions", nargs="+", help="space-separated condition in a format of `=`") c.argument("time_from", options_list=["--from"], help="start time in iso 8601, e.g. '2022-01-02T16:15:00'. Default: 1 hour early") diff --git a/src/amg/azext_amg/commands.py b/src/amg/azext_amg/commands.py index 515b0f408b2..8cc95050372 100644 --- a/src/amg/azext_amg/commands.py +++ b/src/amg/azext_amg/commands.py @@ -32,6 +32,15 @@ def load_command_table(self, _): g.custom_command('query', 'query_data_source') g.custom_command('update', 'update_data_source') + with self.command_group('grafana notification-channel') as g: + g.custom_command('list', 'list_notification_channels') + g.custom_command('list-short', 'list_notification_channels_short') + g.custom_command('show', 'show_notification_channel') + g.custom_command('create', 'create_notification_channel') + g.custom_command('update', 'update_notification_channel') + g.custom_command('delete', 'delete_notification_channel') + g.custom_command('test', 'test_notification_channels') + with self.command_group('grafana folder') as g: g.custom_command('create', 'create_folder') g.custom_command('list', 'list_folders') diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index db77bbf909b..e005e43f02b 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -283,6 +283,48 @@ def update_data_source(cmd, grafana_name, data_source, definition, resource_grou return json.loads(response.content) +def list_notification_channels(cmd, grafana_name, resource_group_name=None): + response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications") + return json.loads(response.content) + + +def list_notification_channels_short(cmd, grafana_name, resource_group_name=None): + response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications/lookup") + return json.loads(response.content) + + +def show_notification_channel(cmd, grafana_name, notification_channel, resource_group_name=None): + return _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) + + +def create_notification_channel(cmd, grafana_name, definition, resource_group_name=None): + definition = _try_load_file_content(definition) + payload = json.loads(definition) + response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications", payload) + return json.loads(response.content) + + +def update_notification_channel(cmd, grafana_name, notification_channel, definition, resource_group_name=None): + definition = json.loads(_try_load_file_content(definition)) + data = _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) + definition['id'] = data['id'] + response = _send_request(cmd, resource_group_name, grafana_name, "put", "/api/alert-notifications/" + str(data['id']), + definition) + return json.loads(response.content) + + +def delete_notification_channel(cmd, grafana_name, notification_channel, resource_group_name=None): + data = _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) + _send_request(cmd, resource_group_name, grafana_name, "delete", "/api/alert-notifications/" + str(data["id"])) + + +def test_notification_channels(cmd, grafana_name, notification_channel, resource_group_name=None): + data = _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) + response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications/test", + data) + return json.loads(response.content) + + def create_folder(cmd, grafana_name, title, resource_group_name=None): payload = { "title": title @@ -414,6 +456,16 @@ def _find_data_source(cmd, resource_group_name, grafana_name, data_source): raise ArgumentUsageError(f"Couldn't found data source {data_source}. Ex: {response.status_code}") return json.loads(response.content) +def _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel): + response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications/" + notification_channel, + raise_for_error_status=False) + if response.status_code >= 400: + response = _send_request(cmd, resource_group_name, grafana_name, + "get", "/api/alert-notifications/uid/" + notification_channel, + raise_for_error_status=False) + if response.status_code >= 400: + raise ArgumentUsageError(f"Couldn't found notification channel {notification_channel}. Ex: {response.status_code}") + return json.loads(response.content) # For UX: we accept a file path for complex payload such as dashboard/data-source definition def _try_load_file_content(file_content): From 59fca2a92e60a6a8311a629e110a2e3003af129b Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Wed, 22 Jun 2022 12:53:11 +0200 Subject: [PATCH 02/12] change version setup --- src/amg/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amg/setup.py b/src/amg/setup.py index 8d6ec630136..29644a66a12 100644 --- a/src/amg/setup.py +++ b/src/amg/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.1.1' +VERSION = '0.1.2' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 77fa3f8bac89181b5aa78cad658a147994e6cf82 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:14:29 +0200 Subject: [PATCH 03/12] azdev style edits and update readme --- src/amg/README.md | 10 +++++++++- src/amg/azext_amg/custom.py | 17 +++++++++++------ 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/amg/README.md b/src/amg/README.md index f3a6a8df8db..33eee9f5a66 100644 --- a/src/amg/README.md +++ b/src/amg/README.md @@ -26,7 +26,7 @@ az grafana delete \ -n MyGrafanaInstance ``` -### Configure folder, data sources and dashboard +### Configure folders, data sources, notification channels and dashboards #### create a folder *Examples:* @@ -44,6 +44,14 @@ az grafana data-source create \ --definition ~/data-source-sql.json ``` +#### configure a notification channel +*Examples:* +``` +az grafana notification-channel create \ + -n MyGrafanaInstance \ + --definition ~/notification-channel-teams.json +``` + #### Create a dashboard *Examples:* ``` diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index e005e43f02b..f2f18f596a2 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -308,7 +308,8 @@ def update_notification_channel(cmd, grafana_name, notification_channel, definit definition = json.loads(_try_load_file_content(definition)) data = _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) definition['id'] = data['id'] - response = _send_request(cmd, resource_group_name, grafana_name, "put", "/api/alert-notifications/" + str(data['id']), + response = _send_request(cmd, resource_group_name, grafana_name, "put", + "/api/alert-notifications/" + str(data['id']), definition) return json.loads(response.content) @@ -456,17 +457,21 @@ def _find_data_source(cmd, resource_group_name, grafana_name, data_source): raise ArgumentUsageError(f"Couldn't found data source {data_source}. Ex: {response.status_code}") return json.loads(response.content) + def _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel): - response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications/" + notification_channel, - raise_for_error_status=False) + response = _send_request(cmd, resource_group_name, grafana_name, "get", + "/api/alert-notifications/" + notification_channel, + raise_for_error_status=False) if response.status_code >= 400: response = _send_request(cmd, resource_group_name, grafana_name, - "get", "/api/alert-notifications/uid/" + notification_channel, - raise_for_error_status=False) + "get", "/api/alert-notifications/uid/" + notification_channel, + raise_for_error_status=False) if response.status_code >= 400: - raise ArgumentUsageError(f"Couldn't found notification channel {notification_channel}. Ex: {response.status_code}") + raise ArgumentUsageError( + f"Couldn't found notification channel {notification_channel}. Ex: {response.status_code}") return json.loads(response.content) + # For UX: we accept a file path for complex payload such as dashboard/data-source definition def _try_load_file_content(file_content): import os From ee468a5a173c9779ed755580fd47d008e397fb82 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:36:08 +0200 Subject: [PATCH 04/12] added help for new options and azdev lint edits --- src/amg/azext_amg/_help.py | 52 ++++++++++++++++++++++++++++++++++- src/amg/azext_amg/commands.py | 2 +- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/amg/azext_amg/_help.py b/src/amg/azext_amg/_help.py index c70b58c3bb6..6c2f917f048 100644 --- a/src/amg/azext_amg/_help.py +++ b/src/amg/azext_amg/_help.py @@ -61,7 +61,6 @@ }' """ - helps['grafana data-source update'] = """ type: command short-summary: Update a data source. @@ -87,6 +86,57 @@ short-summary: query a data source having backend implementation """ +helps['grafana notification-channel'] = """ + type: group + short-summary: Commands to manage notification channels of an instance. +""" + +helps['grafana notification-channel list'] = """ + type: command + short-summary: List all notification channels of an instance. +""" + +helps['grafana notification-channel list-short'] = """ + type: command + short-summary: List all notification channels of an instance in short. +""" + +helps['grafana notification-channel show'] = """ + type: command + short-summary: get details of a notification channel +""" + +helps['grafana notification-channel create'] = """ + type: command + short-summary: Create a notification channel. + examples: + - name: create a notification channel for Teams + text: | + az grafana notification-channel create -n MyGrafana --definition '{ + "name": "Teams", + "settings": { + "uploadImage": true, + "url": "https://webhook.office.com/IncomingWebhook/" + }, + "type": "teams" + }' +""" + +helps['grafana notification-channel update'] = """ + type: command + short-summary: Update a notification channel. +""" + +helps['grafana notification-channel delete'] = """ + type: command + short-summary: delete a notification channel. +""" + +helps['grafana notification-channel test'] = """ + type: command + short-summary: tests a notification channels. +""" + helps['grafana dashboard'] = """ type: group short-summary: Commands to manage dashboards of an instance. diff --git a/src/amg/azext_amg/commands.py b/src/amg/azext_amg/commands.py index 8cc95050372..f262a4626d5 100644 --- a/src/amg/azext_amg/commands.py +++ b/src/amg/azext_amg/commands.py @@ -35,7 +35,7 @@ def load_command_table(self, _): with self.command_group('grafana notification-channel') as g: g.custom_command('list', 'list_notification_channels') g.custom_command('list-short', 'list_notification_channels_short') - g.custom_command('show', 'show_notification_channel') + g.custom_show_command('show', 'show_notification_channel') g.custom_command('create', 'create_notification_channel') g.custom_command('update', 'update_notification_channel') g.custom_command('delete', 'delete_notification_channel') From c699f9b36e02a15ce00e69177950cb56870863c6 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Wed, 22 Jun 2022 19:25:29 +0200 Subject: [PATCH 05/12] fixed spelling plural to singular --- src/amg/azext_amg/commands.py | 2 +- src/amg/azext_amg/custom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amg/azext_amg/commands.py b/src/amg/azext_amg/commands.py index f262a4626d5..ab916708577 100644 --- a/src/amg/azext_amg/commands.py +++ b/src/amg/azext_amg/commands.py @@ -39,7 +39,7 @@ def load_command_table(self, _): g.custom_command('create', 'create_notification_channel') g.custom_command('update', 'update_notification_channel') g.custom_command('delete', 'delete_notification_channel') - g.custom_command('test', 'test_notification_channels') + g.custom_command('test', 'test_notification_channel') with self.command_group('grafana folder') as g: g.custom_command('create', 'create_folder') diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index f2f18f596a2..58d697fd27c 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -319,7 +319,7 @@ def delete_notification_channel(cmd, grafana_name, notification_channel, resourc _send_request(cmd, resource_group_name, grafana_name, "delete", "/api/alert-notifications/" + str(data["id"])) -def test_notification_channels(cmd, grafana_name, notification_channel, resource_group_name=None): +def test_notification_channel(cmd, grafana_name, notification_channel, resource_group_name=None): data = _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications/test", data) From 23a263592f06a134075d58a8f73d7095cf9b47fa Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Fri, 24 Jun 2022 18:12:51 +0200 Subject: [PATCH 06/12] [REV1] merge list command with short argument --- src/amg/azext_amg/_help.py | 5 ----- src/amg/azext_amg/_params.py | 1 + src/amg/azext_amg/commands.py | 1 - src/amg/azext_amg/custom.py | 12 +++++------- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/amg/azext_amg/_help.py b/src/amg/azext_amg/_help.py index 6c2f917f048..118eed94f05 100644 --- a/src/amg/azext_amg/_help.py +++ b/src/amg/azext_amg/_help.py @@ -96,11 +96,6 @@ short-summary: List all notification channels of an instance. """ -helps['grafana notification-channel list-short'] = """ - type: command - short-summary: List all notification channels of an instance in short. -""" - helps['grafana notification-channel show'] = """ type: command short-summary: get details of a notification channel diff --git a/src/amg/azext_amg/_params.py b/src/amg/azext_amg/_params.py index 8d502af653e..ad08751cf2e 100644 --- a/src/amg/azext_amg/_params.py +++ b/src/amg/azext_amg/_params.py @@ -46,6 +46,7 @@ def load_arguments(self, _): with self.argument_context("grafana notification-channel") as c: c.argument("notification_channel", help="id, uid which can identify a data source. CLI will search in the order of id, and uid, till finds a match") c.argument("definition", help="json string with notification channel definition, or a path to a file with such content") + c.argument("short", action='store_true', help="list notification channels in short format.") with self.argument_context("grafana data-source query") as c: c.argument("conditions", nargs="+", help="space-separated condition in a format of `=`") diff --git a/src/amg/azext_amg/commands.py b/src/amg/azext_amg/commands.py index ab916708577..bc292ffc7b7 100644 --- a/src/amg/azext_amg/commands.py +++ b/src/amg/azext_amg/commands.py @@ -34,7 +34,6 @@ def load_command_table(self, _): with self.command_group('grafana notification-channel') as g: g.custom_command('list', 'list_notification_channels') - g.custom_command('list-short', 'list_notification_channels_short') g.custom_show_command('show', 'show_notification_channel') g.custom_command('create', 'create_notification_channel') g.custom_command('update', 'update_notification_channel') diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index 58d697fd27c..5e3b29d2801 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -283,13 +283,11 @@ def update_data_source(cmd, grafana_name, data_source, definition, resource_grou return json.loads(response.content) -def list_notification_channels(cmd, grafana_name, resource_group_name=None): - response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications") - return json.loads(response.content) - - -def list_notification_channels_short(cmd, grafana_name, resource_group_name=None): - response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications/lookup") +def list_notification_channels(cmd, grafana_name, resource_group_name=None, short=False): + if short is False: + response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications") + elif short is True: + response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/alert-notifications/lookup") return json.loads(response.content) From 3c03487181d87ae0843969ea74efb07d30829f84 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Fri, 24 Jun 2022 18:45:24 +0200 Subject: [PATCH 07/12] [REV2] Validate json string or file (+ int type) --- src/amg/azext_amg/_params.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/amg/azext_amg/_params.py b/src/amg/azext_amg/_params.py index ad08751cf2e..5816ec9c1c9 100644 --- a/src/amg/azext_amg/_params.py +++ b/src/amg/azext_amg/_params.py @@ -9,7 +9,7 @@ def load_arguments(self, _): from knack.arguments import CLIArgumentType from azure.cli.core.commands.parameters import tags_type, get_three_state_flag, get_enum_type - from azure.cli.core.commands.validators import get_default_location_from_resource_group + from azure.cli.core.commands.validators import get_default_location_from_resource_group, validate_file_or_dict from ._validators import process_missing_resource_group_parameter from azext_amg.vendored_sdks.models import ZoneRedundancy grafana_name_type = CLIArgumentType(options_list="--grafana-name", @@ -32,29 +32,29 @@ def load_arguments(self, _): with self.argument_context("grafana dashboard") as c: c.argument("uid", options_list=["--dashboard"], help="dashboard uid") - c.argument("definition", help="The complete dashboard model in json string, a path or url to a file with such content") + c.argument("definition", type=validate_file_or_dict, help="The complete dashboard model in json string, a path or url to a file with such content") c.argument("title", help="title of a dashboard") c.argument('overwrite', arg_type=get_three_state_flag(), help='Overwrite a dashboard with same uid') with self.argument_context("grafana dashboard import") as c: - c.argument("definition", help="The complete dashboard model in json string, Grafana gallery id, a path or url to a file with such content") + c.argument("definition", type=validate_file_or_dict, help="The complete dashboard model in json string, Grafana gallery id, a path or url to a file with such content") with self.argument_context("grafana data-source") as c: c.argument("data_source", help="name, id, uid which can identify a data source. CLI will search in the order of name, id, and uid, till finds a match") - c.argument("definition", help="json string with data source definition, or a path to a file with such content") + c.argument("definition", type=validate_file_or_dict, help="json string with data source definition, or a path to a file with such content") with self.argument_context("grafana notification-channel") as c: c.argument("notification_channel", help="id, uid which can identify a data source. CLI will search in the order of id, and uid, till finds a match") - c.argument("definition", help="json string with notification channel definition, or a path to a file with such content") + c.argument("definition", type=validate_file_or_dict, help="json string with notification channel definition, or a path to a file with such content") c.argument("short", action='store_true', help="list notification channels in short format.") with self.argument_context("grafana data-source query") as c: c.argument("conditions", nargs="+", help="space-separated condition in a format of `=`") c.argument("time_from", options_list=["--from"], help="start time in iso 8601, e.g. '2022-01-02T16:15:00'. Default: 1 hour early") c.argument("time_to", options_list=["--to"], help="end time in iso 8601, e.g. '2022-01-02T17:15:00'. Default: current time ") - c.argument("max_data_points", help="Maximum amount of data points that dashboard panel can render") + c.argument("max_data_points", type=int, help="Maximum amount of data points that dashboard panel can render. Default: 1000") c.argument("query_format", help="format of the resule, e.g. table, time_series") - c.argument("internal_ms", help="The time interval in milliseconds of time series") + c.argument("internal_ms", type=int, help="The time interval in milliseconds of time series. Default: 1000") with self.argument_context("grafana folder") as c: c.argument("title", help="title of the folder") From 40c8f994d1583eca21de7676be51fd8817a41283 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Fri, 24 Jun 2022 21:51:31 +0200 Subject: [PATCH 08/12] [REV2] Remove in-function json validation --- src/amg/azext_amg/_params.py | 9 ++++-- src/amg/azext_amg/custom.py | 60 +++++++++++++++--------------------- 2 files changed, 32 insertions(+), 37 deletions(-) diff --git a/src/amg/azext_amg/_params.py b/src/amg/azext_amg/_params.py index 5816ec9c1c9..e80715b773c 100644 --- a/src/amg/azext_amg/_params.py +++ b/src/amg/azext_amg/_params.py @@ -32,12 +32,17 @@ def load_arguments(self, _): with self.argument_context("grafana dashboard") as c: c.argument("uid", options_list=["--dashboard"], help="dashboard uid") - c.argument("definition", type=validate_file_or_dict, help="The complete dashboard model in json string, a path or url to a file with such content") c.argument("title", help="title of a dashboard") c.argument('overwrite', arg_type=get_three_state_flag(), help='Overwrite a dashboard with same uid') + with self.argument_context("grafana dashboard create") as c: + c.argument("definition", type=validate_file_or_dict, help="The complete dashboard model in json string, a path or url to a file with such content") + + with self.argument_context("grafana dashboard update") as c: + c.argument("definition", type=validate_file_or_dict, help="The complete dashboard model in json string, a path or url to a file with such content") + with self.argument_context("grafana dashboard import") as c: - c.argument("definition", type=validate_file_or_dict, help="The complete dashboard model in json string, Grafana gallery id, a path or url to a file with such content") + c.argument("definition", help="The complete dashboard model in json string, Grafana gallery id, a path or url to a file with such content") with self.argument_context("grafana data-source") as c: c.argument("data_source", help="name, id, uid which can identify a data source. CLI will search in the order of name, id, and uid, till finds a match") diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index 5e3b29d2801..837f91406c6 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -159,26 +159,25 @@ def list_dashboards(cmd, grafana_name, resource_group_name=None): def create_dashboard(cmd, grafana_name, definition, title=None, folder=None, resource_group_name=None, overwrite=None): - data = _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, definition, for_import=False) - if "dashboard" in data: - payload = data + if "dashboard" in definition: + payload = definition else: logger.info("Adjust input by adding 'dashboard' field") payload = {} - payload["dashboard"] = data + payload['dashboard'] = definition if title: payload['dashboard']['title'] = title if folder: folder = _find_folder(cmd, resource_group_name, grafana_name, folder) - payload['folderId'] = folder["id"] + payload['folderId'] = folder['id'] - payload["overwrite"] = overwrite or False + payload['overwrite'] = overwrite or False - if "id" in payload["dashboard"]: + if "id" in payload['dashboard']: logger.warning("Removing 'id' from dashboard to prevent the error of 'Not Found'") - del payload["dashboard"]["id"] + del payload['dashboard']['id'] response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/dashboards/db", payload) @@ -193,31 +192,31 @@ def update_dashboard(cmd, grafana_name, definition, folder=None, resource_group_ def import_dashboard(cmd, grafana_name, definition, folder=None, resource_group_name=None, overwrite=None): import copy - data = _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, definition, for_import=True) + data = _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, definition) if "dashboard" in data: payload = data else: logger.info("Adjust input by adding 'dashboard' field") payload = {} - payload["dashboard"] = data + payload['dashboard'] = data if folder: folder = _find_folder(cmd, resource_group_name, grafana_name, folder) - payload['folderId'] = folder["id"] + payload['folderId'] = folder['id'] - payload["overwrite"] = overwrite or False + payload['overwrite'] = overwrite or False - payload["inputs"] = [] + payload['inputs'] = [] # provide parameter values for datasource data_sources = list_data_sources(cmd, grafana_name, resource_group_name) - for parameter in payload["dashboard"].get('__inputs', []): + for parameter in payload['dashboard'].get('__inputs', []): if parameter.get("type") == "datasource": - match = next((d for d in data_sources if d["type"] == parameter["pluginId"]), None) + match = next((d for d in data_sources if d['type'] == parameter['pluginId']), None) if match: clone = copy.deepcopy(parameter) - clone["value"] = match["uid"] - payload["inputs"].append(clone) + clone['value'] = match['uid'] + payload['inputs'].append(clone) else: logger.warning("No data source was found matching the required parameter of %s", parameter['pluginId']) @@ -226,17 +225,13 @@ def import_dashboard(cmd, grafana_name, definition, folder=None, resource_group_ return json.loads(response.content) -def _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, definition, for_import): +def _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, definition): import re - if for_import: - try: # see whether it is a gallery id - int(definition) - response = _send_request(cmd, resource_group_name, grafana_name, "get", - "/api/gnet/dashboards/" + definition) - return json.loads(response.content)["json"] - except ValueError: - pass + if isinstance(definition, int): + response = _send_request(cmd, resource_group_name, grafana_name, "get", + "/api/gnet/dashboards/" + str(definition)) + definition = json.loads(response.content)["json"] if re.match(r"^[a-z]+://", definition.lower()): response = requests.get(definition, verify=(not should_disable_connection_verify())) @@ -244,6 +239,7 @@ def _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, defin definition = json.loads(response.content.decode()) else: raise ArgumentUsageError(f"Failed to dashboard definition from '{definition}'. Error: '{response}'.") + else: definition = json.loads(_try_load_file_content(definition)) @@ -255,9 +251,7 @@ def delete_dashboard(cmd, grafana_name, uid, resource_group_name=None): def create_data_source(cmd, grafana_name, definition, resource_group_name=None): - definition = _try_load_file_content(definition) - payload = json.loads(definition) - response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/datasources", payload) + response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/datasources", definition) return json.loads(response.content) @@ -276,10 +270,9 @@ def list_data_sources(cmd, grafana_name, resource_group_name=None): def update_data_source(cmd, grafana_name, data_source, definition, resource_group_name=None): - definition = _try_load_file_content(definition) data = _find_data_source(cmd, resource_group_name, grafana_name, data_source) response = _send_request(cmd, resource_group_name, grafana_name, "put", "/api/datasources/" + str(data['id']), - json.loads(definition)) + definition) return json.loads(response.content) @@ -296,14 +289,11 @@ def show_notification_channel(cmd, grafana_name, notification_channel, resource_ def create_notification_channel(cmd, grafana_name, definition, resource_group_name=None): - definition = _try_load_file_content(definition) - payload = json.loads(definition) - response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications", payload) + response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications", definition) return json.loads(response.content) def update_notification_channel(cmd, grafana_name, notification_channel, definition, resource_group_name=None): - definition = json.loads(_try_load_file_content(definition)) data = _find_notification_channel(cmd, resource_group_name, grafana_name, notification_channel) definition['id'] = data['id'] response = _send_request(cmd, resource_group_name, grafana_name, "put", From 75f70f0969aa74e67a2250cd3d23b62fa99407e1 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Mon, 18 Jul 2022 15:19:16 +0200 Subject: [PATCH 09/12] added end-to-end testing --- src/amg/azext_amg/custom.py | 6 +- .../tests/latest/recordings/test_amg_e2e.yaml | 716 ++++++------------ .../tests/latest/test_amg_scenario.py | 143 +++- .../tests/latest/test_definitions.py | 24 + 4 files changed, 400 insertions(+), 489 deletions(-) create mode 100644 src/amg/azext_amg/tests/latest/test_definitions.py diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index 837f91406c6..8114deb3c75 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -228,10 +228,14 @@ def import_dashboard(cmd, grafana_name, definition, folder=None, resource_group_ def _try_load_dashboard_definition(cmd, resource_group_name, grafana_name, definition): import re - if isinstance(definition, int): + try: + int(definition) response = _send_request(cmd, resource_group_name, grafana_name, "get", "/api/gnet/dashboards/" + str(definition)) definition = json.loads(response.content)["json"] + return definition + except ValueError: + pass if re.match(r"^[a-z]+://", definition.lower()): response = requests.get(definition, verify=(not should_disable_connection_verify())) diff --git a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml index 7ef07a14794..579dd1baeaf 100644 --- a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml +++ b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml @@ -16,33 +16,33 @@ interactions: Content-Type: - application/json ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-11T17:21:51.6537717Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T17:21:51.6537717Z"},"identity":{"principalId":"b0590771-4338-4719-ac35-3260aecd2036","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-16T21:35:29.8502002Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-16T21:35:29.8502002Z"},"identity":{"principalId":"683bb49f-662e-4e6a-a96b-0ec3f3431c4c","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' headers: api-supported-versions: - - 2021-09-01-preview + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview cache-control: - no-cache content-length: - - '862' + - '868' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:21:54 GMT + - Sat, 16 Jul 2022 21:35:30 GMT etag: - - '"bd02c707-0000-0d00-0000-627bf0b20000"' + - '"1100443a-0000-0d00-0000-62d32f230000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview pragma: - no-cache request-context: @@ -70,14 +70,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:22:24 GMT + - Sat, 16 Jul 2022 21:36:01 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -116,14 +116,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -132,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:22:54 GMT + - Sat, 16 Jul 2022 21:36:30 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -162,14 +162,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -178,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:23:25 GMT + - Sat, 16 Jul 2022 21:37:00 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -208,14 +208,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:23:55 GMT + - Sat, 16 Jul 2022 21:37:31 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -254,14 +254,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -270,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:24:25 GMT + - Sat, 16 Jul 2022 21:38:01 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -300,14 +300,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -316,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:24:55 GMT + - Sat, 16 Jul 2022 21:38:30 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -346,14 +346,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -362,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:25:26 GMT + - Sat, 16 Jul 2022 21:39:00 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -392,14 +392,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-05-11T17:21:53.8964737Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache @@ -408,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:25:56 GMT + - Sat, 16 Jul 2022 21:39:31 GMT etag: - - '"7700b10c-0000-0d00-0000-627bf0b10000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -438,25 +438,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-05-11T17:21:53.8964737Z","endTime":"2022-05-11T17:26:21.985737Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '574' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:26:26 GMT + - Sat, 16 Jul 2022 21:40:01 GMT etag: - - '"77001a19-0000-0d00-0000-627bf1bd0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -484,25 +484,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-11T17:21:51.6537717Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T17:21:51.6537717Z"},"identity":{"principalId":"b0590771-4338-4719-ac35-3260aecd2036","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '866' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:26:27 GMT + - Sat, 16 Jul 2022 21:40:31 GMT etag: - - '"bd021417-0000-0d00-0000-627bf1bd0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -515,8 +515,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' status: code: 200 message: OK @@ -524,48 +522,45 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - grafana list + - grafana create Connection: - keep-alive ParameterSetName: - - -g + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-11T17:21:51.6537717Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T17:21:51.6537717Z"},"identity":{"principalId":"b0590771-4338-4719-ac35-3260aecd2036","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '878' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:26:29 GMT + - Sat, 16 Jul 2022 21:41:01 GMT + etag: + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-original-request-ids: - - 55f4edee-966a-499b-a495-2de36c04ccb5 - - 21af00a0-112c-4525-915d-ed18c2a84d66 - - 81d2fdfa-2f6e-4f12-a8c4-22c780856bc9 - - 3cb855fa-95d2-49e4-a1c4-130cc4d79333 - - bac89d75-3f5d-4bf6-8c92-b91fb9d3227f - - 17ba4a96-cc27-4664-a439-9aa042301d6f status: code: 200 message: OK @@ -573,46 +568,45 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - grafana list + - grafana create Connection: - keep-alive + ParameterSetName: + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Dashboard/grafana/yugangwscus4","name":"yugangwscus4","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"southcentralus","systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-01T22:07:33.5452415Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-01T22:07:33.5452415Z"},"identity":{"principalId":"e58782a4-2e7d-4659-aba3-feb3726635be","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://yugangwscus4-atesagbsc2dqgydb.scus.grafana.azure.com","zoneRedundancy":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-11T17:21:51.6537717Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T17:21:51.6537717Z"},"identity":{"principalId":"b0590771-4338-4719-ac35-3260aecd2036","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Dashboard/grafana/internalplugintest","name":"internalplugintest","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"centraluseuap","systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-04-28T00:37:18.1228461Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-28T00:37:18.1228461Z"},"identity":{"principalId":"aee1d662-89f2-4847-ba08-8b6c1c90c3b1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://internalplugintest-h3bjgvh9bmg4echm.cuse.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '2580' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:26:29 GMT + - Sat, 16 Jul 2022 21:41:32 GMT + etag: + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-original-request-ids: - - 0de77ca4-ff30-4627-a015-a8feb925a4a3 - - afcc4f17-78d1-4724-be33-3e5184ba0a8f - - f4bac38d-64bd-4eea-ae66-62bba863b2ad - - a921cb92-ac36-4a31-9e43-80920a61c776 - - 66fe15b2-a50e-4cdf-8c63-0aacd7a8ce78 - - ea9ba47f-8cba-4021-a35a-4758bd66a990 status: code: 200 message: OK @@ -620,33 +614,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - grafana show + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-11T17:21:51.6537717Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T17:21:51.6537717Z"},"identity":{"principalId":"b0590771-4338-4719-ac35-3260aecd2036","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '866' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:26:30 GMT + - Sat, 16 Jul 2022 21:42:02 GMT etag: - - '"bd021417-0000-0d00-0000-627bf1bd0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -659,8 +653,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' status: code: 200 message: OK @@ -668,33 +660,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-11T17:21:51.6537717Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T17:21:51.6537717Z"},"identity":{"principalId":"b0590771-4338-4719-ac35-3260aecd2036","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '866' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:26:31 GMT + - Sat, 16 Jul 2022 21:42:31 GMT etag: - - '"bd021417-0000-0d00-0000-627bf1bd0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -707,277 +699,9 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: 'null' - headers: - api-supported-versions: - - 2021-09-01-preview - azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 17:26:32 GMT - etag: - - '"bd02e117-0000-0d00-0000-627bf1c80000"' - expires: - - '-1' - location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - pragma: - - no-cache - request-context: - - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 17:27:02 GMT - etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 17:27:32 GMT - etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 17:28:02 GMT - etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 17:28:32 GMT - etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 17:29:03 GMT - etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted - request: body: null headers: @@ -986,40 +710,44 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '514' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:29:33 GMT + - Sat, 16 Jul 2022 21:43:01 GMT etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1028,40 +756,44 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '514' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:30:04 GMT + - Sat, 16 Jul 2022 21:43:32 GMT etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1070,40 +802,44 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '514' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:30:34 GMT + - Sat, 16 Jul 2022 21:44:01 GMT etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1112,40 +848,44 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '514' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:31:04 GMT + - Sat, 16 Jul 2022 21:44:31 GMT etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1154,40 +894,44 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '514' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:31:34 GMT + - Sat, 16 Jul 2022 21:45:02 GMT etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1196,40 +940,44 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-05-11T17:26:32.414668Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '514' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:32:04 GMT + - Sat, 16 Jul 2022 21:45:32 GMT etag: - - '"77005d19-0000-0d00-0000-627bf1ca0000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1238,29 +986,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","name":"3e1f657a-234a-4d61-a34d-55f2430adb6e*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-05-11T17:26:32.414668Z","endTime":"2022-05-11T17:32:08.2119502Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '574' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:32:35 GMT + - Sat, 16 Jul 2022 21:46:01 GMT etag: - - '"7700192f-0000-0d00-0000-627bf3180000"' + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: @@ -1280,40 +1028,37 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - python/3.8.8 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.33.0 (MSI) - accept-language: - - en-US + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27b0590771-4338-4719-ac35-3260aecd2036%27&api-version=2020-04-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"value":[]}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' headers: cache-control: - no-cache content-length: - - '12' + - '504' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:32:34 GMT + - Sat, 16 Jul 2022 21:46:32 GMT + etag: + - '"2200631d-0000-0d00-0000-62d32f220000"' expires: - '-1' pragma: - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1329,46 +1074,47 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - grafana list + - grafana create Connection: - keep-alive + ParameterSetName: + - -g -n -l --tags User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Dashboard/grafana/yugangwscus4","name":"yugangwscus4","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"southcentralus","systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-05-01T22:07:33.5452415Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-01T22:07:33.5452415Z"},"identity":{"principalId":"e58782a4-2e7d-4659-aba3-feb3726635be","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://yugangwscus4-atesagbsc2dqgydb.scus.grafana.azure.com","zoneRedundancy":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Dashboard/grafana/internalplugintest","name":"internalplugintest","type":"microsoft.dashboard/grafana","sku":{"name":"standard"},"location":"centraluseuap","systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-04-28T00:37:18.1228461Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-04-28T00:37:18.1228461Z"},"identity":{"principalId":"aee1d662-89f2-4847-ba08-8b6c1c90c3b1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.5","endpoint":"https://internalplugintest-h3bjgvh9bmg4echm.cuse.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Failed","startTime":"2022-07-16T21:35:30.5565649Z","endTime":"2022-07-16T21:46:46.6487735Z","error":{"code":"CreationError","message":"Internal + error occurred. Workspace name: CLITESTAMG, correlation Id: 53899686-9eda-40a4-afde-454d56aa7f52. + Please delete the workspace and retry creation."}}' headers: cache-control: - no-cache content-length: - - '1713' + - '743' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 17:32:36 GMT + - Sat, 16 Jul 2022 21:47:02 GMT + etag: + - '"22004c1e-0000-0d00-0000-62d331c60000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-original-request-ids: - - 7466a028-8470-4c73-8466-aaca85db12dc - - 3b75b131-4012-4df2-b84b-7c7e2b05a0d6 - - 2682a42e-ea1e-43b7-bdeb-a178b726e221 - - cca06fa9-aeaf-479e-aa76-97d54e5578c2 - - 45e60240-7cdf-4fcf-8223-9713b11dc71e - - a53ac0d8-b752-4107-a4d6-743e925a69b7 status: code: 200 message: OK diff --git a/src/amg/azext_amg/tests/latest/test_amg_scenario.py b/src/amg/azext_amg/tests/latest/test_amg_scenario.py index bf9f603f27e..83106d443c8 100644 --- a/src/amg/azext_amg/tests/latest/test_amg_scenario.py +++ b/src/amg/azext_amg/tests/latest/test_amg_scenario.py @@ -7,6 +7,8 @@ import unittest from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk .scenario_tests import AllowLargeResponse +from .test_definitions import (test_data_source, test_notification_channel, test_dashboard) TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) @@ -14,26 +16,161 @@ class AgsScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_amg') + @AllowLargeResponse(size_kb=3072) + @ResourceGroupPreparer(name_prefix='cli_test_amg', location='westeurope') def test_amg_e2e(self, resource_group): + # Test Instance self.kwargs.update({ 'name': 'clitestamg', 'location': 'westeurope' }) - self.cmd('grafana create -g {rg} -n {name} -l {location} --tags foo=doo --skip-role-assignments', checks=[ + self.cmd('grafana create -g {rg} -n {name} -l {location} --tags foo=doo', checks=[ self.check('tags.foo', 'doo'), self.check('name', '{name}') ]) + self.cmd('grafana list -g {rg}') count = len(self.cmd('grafana list').get_output_in_json()) + self.cmd('grafana show -g {rg} -n {name}', checks=[ self.check('name', '{name}'), self.check('resourceGroup', '{rg}'), self.check('tags.foo', 'doo') ]) + # Test User + response_list = self.cmd('grafana user list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + response_actual_user = self.cmd('grafana user actual-user -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_actual_user) > 0) + + # Test Folder + self.kwargs.update({ + 'title': 'Test Folder', + 'update_title': 'Test Folder Update' + }) + + response_create = self.cmd('grafana folder create -g {rg} -n {name} --title "{title}"', checks=[ + self.check("[title]", "['{title}']")]).get_output_in_json() + + self.kwargs.update({ + 'folder_uid': response_create["uid"] + }) + + self.cmd('grafana folder show -g {rg} -n {name} --folder "{title}"', checks=[ + self.check("[title]", "['{title}']")]) + + self.cmd('grafana folder update -g {rg} -n {name} --folder "{folder_uid}" --title "{update_title}"', checks=[ + self.check("[title]", "['{update_title}']")]) + + response_list = self.cmd('grafana folder list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana folder delete -g {rg} -n {name} --folder "{update_title}"') + response_delete = self.cmd('grafana folder list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + + # Test Data Source + self.kwargs.update({ + 'definition': test_data_source, + 'definition_name': test_data_source["name"] + }) + + self.cmd('grafana data-source create -g {rg} -n {name} --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + self.cmd('grafana data-source show -g {rg} -n {name} --data-source "{definition_name}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + self.cmd('grafana data-source update -g {rg} -n {name} --data-source "{definition_name}" --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + response_list = self.cmd('grafana data-source list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana data-source delete -g {rg} -n {name} --data-source "{definition_name}"') + response_delete = self.cmd('grafana data-source list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + + # Test Notification Channel + self.kwargs.update({ + 'definition': test_notification_channel, + 'definition_name': test_notification_channel["name"] + }) + + response_create = self.cmd('grafana notification-channel create -g {rg} -n {name} --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]).get_output_in_json() + + self.kwargs.update({ + 'notification_channel_uid': response_create["uid"] + }) + + self.cmd('grafana notification-channel show -g {rg} -n {name} --notification-channel "{notification_channel_uid}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + self.cmd('grafana notification-channel update -g {rg} -n {name} --notification-channel "{notification_channel_uid}" --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + response_list = self.cmd('grafana notification-channel list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana notification-channel delete -g {rg} -n {name} --notification-channel "{notification_channel_uid}"') + response_delete = self.cmd('grafana notification-channel list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + + # Test Dashboard + definition_name = test_dashboard["dashboard"]["title"] + slug = definition_name.lower().replace(' ', '-') + + self.kwargs.update({ + 'definition': test_dashboard, + 'definition_name': definition_name, + 'definition_slug': slug, + 'import_id': 14986 + }) + + response_create = self.cmd('grafana dashboard create -g {rg} -n {name} --definition "{definition}" --title "{definition_name}"', checks=[ + self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() + + test_definition_update = test_dashboard + test_definition_update["dashboard"]["uid"] = response_create["uid"] + test_definition_update["dashboard"]["id"] = response_create["id"] + test_definition_update["dashboard"]["version"] = response_create["version"] + + self.kwargs.update({ + 'dashboard_uid': response_create["uid"], + 'test_definition_update': test_definition_update + }) + + self.cmd('grafana dashboard show -g {rg} -n {name} --dashboard "{dashboard_uid}"', checks=[ + self.check("[dashboard.title]", "['{definition_name}']")]) + + response_update = self.cmd('grafana dashboard update -g {rg} -n {name} --definition "{test_definition_update}" --overwrite true', checks=[ + self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() + self.assertTrue(response_update["version"] == response_create["version"] + 1) + + response_import = self.cmd('grafana dashboard import -g {rg} -n {name} --definition {import_id}', checks=[ + self.check("[slug]", "['azure-resources-overview']")]).get_output_in_json() + + self.kwargs.update({ + 'import_dashboard_uid': response_import["uid"], + }) + + response_list = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana dashboard delete -g {rg} -n {name} --dashboard "{dashboard_uid}"') + self.cmd('grafana dashboard delete -g {rg} -n {name} --dashboard "{import_dashboard_uid}"') + response_delete = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 2) + + # Close-out Instance self.cmd('grafana delete -g {rg} -n {name} --yes') final_count = len(self.cmd('grafana list').get_output_in_json()) - self.assertTrue(final_count, count - 1) \ No newline at end of file + self.assertTrue(final_count, count - 1) diff --git a/src/amg/azext_amg/tests/latest/test_definitions.py b/src/amg/azext_amg/tests/latest/test_definitions.py new file mode 100644 index 00000000000..11081d3410c --- /dev/null +++ b/src/amg/azext_amg/tests/latest/test_definitions.py @@ -0,0 +1,24 @@ + +test_data_source = { + "access": "proxy", + "jsonData": { + "azureAuthType": "msi", + "subscriptionId": "" + }, + "name": "Test Azure Monitor Data Source", + "type": "grafana-azure-monitor-datasource" + } + +test_notification_channel = { + "name": "Test Teams Notification Channel", + "settings": { + "url": "https://test.webhook.office.com/IncomingWebhook/" + }, + "type": "teams" + } + +test_dashboard = { + "dashboard": { + "title": "Test Dashboard", + } +} \ No newline at end of file From 6cb91ce064eb741a0398a08769422383e4c57c53 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Mon, 18 Jul 2022 17:25:52 +0200 Subject: [PATCH 10/12] update e2e testing w/ pass --- .../tests/latest/recordings/test_amg_e2e.yaml | 2920 ++++++++++++++--- .../tests/latest/test_amg_scenario.py | 11 +- 2 files changed, 2421 insertions(+), 510 deletions(-) diff --git a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml index 5735cbbc694..bf135178c65 100644 --- a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml +++ b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml @@ -18,17 +18,17 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T07:44:14.1863573Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T07:44:14.1863573Z"},"identity":{"principalId":"feb4f180-d80c-4514-84f8-c55f3a802660","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' headers: api-supported-versions: - - 2021-09-01-preview, 2022-05-01-preview + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview cache-control: - no-cache content-length: @@ -36,13 +36,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:44:16 GMT + - Mon, 18 Jul 2022 15:07:16 GMT etag: - - '"36005422-0000-0d00-0000-62cd26500000"' + - '"17007808-0000-0d00-0000-62d577250000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview pragma: - no-cache request-context: @@ -72,12 +72,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:44:47 GMT + - Mon, 18 Jul 2022 15:07:47 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -118,12 +118,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -132,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:45:17 GMT + - Mon, 18 Jul 2022 15:08:17 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -164,12 +164,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -178,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:45:47 GMT + - Mon, 18 Jul 2022 15:08:47 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -210,12 +210,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:46:17 GMT + - Mon, 18 Jul 2022 15:09:16 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -256,12 +256,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -270,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:46:48 GMT + - Mon, 18 Jul 2022 15:09:46 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -302,12 +302,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -316,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:47:17 GMT + - Mon, 18 Jul 2022 15:10:16 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -348,12 +348,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -362,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:47:47 GMT + - Mon, 18 Jul 2022 15:10:47 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -394,12 +394,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -408,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:48:18 GMT + - Mon, 18 Jul 2022 15:11:17 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -440,12 +440,12 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' headers: cache-control: - no-cache @@ -454,9 +454,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:48:48 GMT + - Mon, 18 Jul 2022 15:11:47 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35008753-0000-0d00-0000-62d577240000"' expires: - '-1' pragma: @@ -486,23 +486,23 @@ interactions: ParameterSetName: - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-12T07:44:16.4583745Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-18T15:07:16.8592448Z","endTime":"2022-07-18T15:12:16.1171562Z","error":{},"properties":null}' headers: cache-control: - no-cache content-length: - - '504' + - '575' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:19 GMT + - Mon, 18 Jul 2022 15:12:17 GMT etag: - - '"2e00947f-0000-0d00-0000-62cd26500000"' + - '"35004554-0000-0d00-0000-62d578500000"' expires: - '-1' pragma: @@ -530,25 +530,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"f2048393-c59b-40ea-9448-18db368b5e3a*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-12T07:44:16.4583745Z","endTime":"2022-07-12T07:49:47.6887768Z","error":{},"properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' headers: cache-control: - no-cache content-length: - - '575' + - '872' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:49 GMT + - Mon, 18 Jul 2022 15:12:17 GMT etag: - - '"2e00e380-0000-0d00-0000-62cd279b0000"' + - '"1700b00f-0000-0d00-0000-62d578500000"' expires: - '-1' pragma: @@ -561,6 +561,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: code: 200 message: OK @@ -568,47 +570,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate - CommandName: - - grafana create Connection: - keep-alive - ParameterSetName: - - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-graphrbac/0.60.0 Azure-SDK-For-Python + accept-language: + - en-US method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/users?$filter=userPrincipalName%20eq%20%27michelletaal%40hotmail.com%27%20or%20mail%20eq%20%27michelletaal%40hotmail.com%27&api-version=1.6 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T07:44:14.1863573Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T07:44:14.1863573Z"},"identity":{"principalId":"feb4f180-d80c-4514-84f8-c55f3a802660","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"ed86bea3-5154-4d06-839b-11ced3dc0557","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2022-03-04T13:39:33Z","creationType":null,"department":null,"dirSyncEnabled":null,"displayName":"michelletaal@hotmail.com","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Michelle","immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"michelletaal@hotmail.com","mailNickname":"michelletaal_hotmail.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["michelletaal@hotmail.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":"en","provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:michelletaal@hotmail.com"],"refreshTokensValidFromDateTime":"2022-03-04T13:39:33Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":"Taal","telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/ed86bea3-5154-4d06-839b-11ced3dc0557/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"NL","userIdentities":[],"userPrincipalName":"michelletaal_hotmail.com#EXT#@michelletaalhotmail.onmicrosoft.com","userState":null,"userStateChangedOn":null,"userType":"Member"}]}' headers: + access-control-allow-origin: + - '*' cache-control: - no-cache content-length: - - '504' + - '1707' content-type: - - application/json; charset=utf-8 + - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 + dataserviceversion: + - 3.0; date: - - Tue, 12 Jul 2022 07:49:49 GMT - etag: - - '"3600f68c-0000-0d00-0000-62cd279b0000"' + - Mon, 18 Jul 2022 15:12:17 GMT + duration: + - '498829' expires: - '-1' + ocp-aad-diagnostics-server-name: + - TCVX03SeT3iR55XtHX8+JLZodkjqZSvr7TJ+3w+wtl0= + ocp-aad-session-key: + - VVnimRP6JsYQ7-kRf1u-U9nACsC3M27Qtg4dHnfH8bCmEsHJALOyz3rDKoFPFelPbf7aFgJC8rbyVk_L3_5mQp9UdRz1r-cZJoOy5RvqtvzSwHNw6UwIdMqRhwIEmYie.yqDxsDe-rpVNB6ZW8_5SSKM-aINNbGzrypg4VOafMe8 pragma: - no-cache + request-id: + - 8338ec1d-550d-47a2-a68c-cdaf42412842 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' + x-aspnet-version: + - 4.0.30319 + x-ms-dirapi-data-contract-version: + - '1.6' + x-ms-resource-unit: + - '2' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -620,94 +631,100 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana list + - grafana create Connection: - keep-alive ParameterSetName: - - -g + - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Grafana%20Admin%27&api-version=2018-01-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T07:44:14.1863573Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T07:44:14.1863573Z"},"identity":{"principalId":"feb4f180-d80c-4514-84f8-c55f3a802660","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + string: '{"value":[{"properties":{"roleName":"Grafana Admin","type":"BuiltInRole","description":"Built-in + Grafana admin role","assignableScopes":["/"],"permissions":[{"actions":[],"notActions":[],"dataActions":["Microsoft.Dashboard/grafana/ActAsGrafanaAdmin/action"],"notDataActions":[]}],"createdOn":"2021-07-15T21:32:35.3802340Z","updatedOn":"2021-11-11T20:15:14.8104670Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","type":"Microsoft.Authorization/roleDefinitions","name":"22926164-76b3-42b3-bc55-97df8dab3e41"}]}' headers: cache-control: - no-cache content-length: - - '878' + - '644' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:50 GMT + - Mon, 18 Jul 2022 15:12:17 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-original-request-ids: - - 39645b2b-0e89-4ee3-9c09-808e638cebbb - - e93bc275-30be-4985-a06b-5f69cd8e3391 - - 6083a744-e7d3-4d1e-ab13-4a986f2b6526 - - 87d642a8-1394-4384-ab37-075e5be0ca85 - - a61d25c3-31b0-470b-b3cb-fccd3f192743 - - 27aaf57c-bd18-4387-b81d-7af8b56f57c2 status: code: 200 message: OK - request: - body: null + body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41", + "principalId": "ed86bea3-5154-4d06-839b-11ced3dc0557"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana list + - grafana create Connection: - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/b4959396-b6d3-457f-a3e5-4bbdc1da62dc?api-version=2020-04-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwwcus","name":"yugangwwcus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-06-18T15:53:09.0679646Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-18T15:53:09.0679646Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T07:44:14.1863573Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T07:44:14.1863573Z"},"identity":{"principalId":"feb4f180-d80c-4514-84f8-c55f3a802660","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwazcan2","name":"yugangwazcan2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus2euap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T02:35:15.1213797Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T02:35:15.1213797Z"},"identity":{"principalId":"8e7b9656-ab4e-4e8b-9337-45d561858190","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://yugangwazcan2-e7djeqffhkgghba8.eus2e.grafana.azure.com","zoneRedundancy":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwazaz2","name":"yugangwazaz2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus2euap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T03:11:21.3832579Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T03:11:21.3832579Z"},"identity":{"principalId":"67814b93-5155-4d82-99f2-ab2705d70e50","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://yugangwazaz2-fpdccffqa6d8h4gj.eus2e.grafana.azure.com","zoneRedundancy":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","principalId":"ed86bea3-5154-4d06-839b-11ced3dc0557","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:19.0886609Z","updatedOn":"2022-07-18T15:12:19.3542913Z","createdBy":null,"updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/b4959396-b6d3-457f-a3e5-4bbdc1da62dc","type":"Microsoft.Authorization/roleAssignments","name":"b4959396-b6d3-457f-a3e5-4bbdc1da62dc"}' headers: cache-control: - no-cache content-length: - - '3448' + - '977' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:52 GMT + - Mon, 18 Jul 2022 15:12:20 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding x-content-type-options: - nosniff - x-ms-original-request-ids: - - f18cbb5e-2844-4353-809b-af19367e3efa - - 0d8b2eb8-fe23-4684-9f87-3da4ae285ad2 - - 7c1d0419-85c2-4edd-a8c3-8b49211d8547 - - c114ae36-92c3-464d-960f-bad575aa0636 - - afb33939-808e-46c4-a2b1-bd5ff251d7db - - beb5b5a0-8a9c-4f84-9cbe-c29219d960bc + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -716,33 +733,37 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana show + - grafana create Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Monitoring%20Reader%27&api-version=2018-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T07:44:14.1863573Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T07:44:14.1863573Z"},"identity":{"principalId":"feb4f180-d80c-4514-84f8-c55f3a802660","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"value":[{"properties":{"roleName":"Monitoring Reader","type":"BuiltInRole","description":"Can + read all monitoring data.","assignableScopes":["/"],"permissions":[{"actions":["*/read","Microsoft.OperationalInsights/workspaces/search/action","Microsoft.Support/*"],"notActions":[],"dataActions":["Microsoft.Monitor/accounts/data/metrics/read"],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-07-07T00:23:17.8373589Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","type":"Microsoft.Authorization/roleDefinitions","name":"43d0d8ad-25c7-4714-9337-8ba259a9fe05"}]}' headers: cache-control: - no-cache content-length: - - '866' + - '729' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:55 GMT - etag: - - '"3600f68c-0000-0d00-0000-62cd279b0000"' + - Mon, 18 Jul 2022 15:12:20 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -751,59 +772,61 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' status: code: 200 message: OK - request: - body: null + body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05", + "principalId": "b42e4412-5d1f-4a37-8182-2c9498ae3a54"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana create Connection: - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -g -n --yes + - -g -n -l --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f?api-version=2020-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T07:44:14.1863573Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T07:44:14.1863573Z"},"identity":{"principalId":"feb4f180-d80c-4514-84f8-c55f3a802660","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:21.8052732Z","updatedOn":"2022-07-18T15:12:22.1802340Z","createdBy":null,"updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f","type":"Microsoft.Authorization/roleAssignments","name":"8ac028c5-077a-402f-b617-4d28e1adb89f"}' headers: cache-control: - no-cache content-length: - - '866' + - '823' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:55 GMT - etag: - - '"3600f68c-0000-0d00-0000-62cd279b0000"' + - Mon, 18 Jul 2022 15:12:23 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -812,180 +835,186 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana list Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - -g -n --yes + - -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview response: body: - string: 'null' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' headers: - api-supported-versions: - - 2021-09-01-preview, 2022-05-01-preview - azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview cache-control: - no-cache content-length: - - '4' + - '884' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:49:56 GMT - etag: - - '"3600e58f-0000-0d00-0000-62cd27a40000"' + - Mon, 18 Jul 2022 15:12:23 GMT expires: - '-1' - location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview pragma: - no-cache - request-context: - - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + x-ms-original-request-ids: + - cd8c5ba1-f070-4231-b50b-b95d0c0f3681 + - 54a7203b-2f03-4594-baae-ff138e9cace2 + - 81ffcbb5-2035-42fd-8298-d54543ff49e9 + - 069850ca-6bcf-487a-afe3-799bc8c9d529 status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana list Connection: - keep-alive - ParameterSetName: - - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' headers: cache-control: - no-cache content-length: - - '515' + - '1752' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:50:27 GMT - etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - Mon, 18 Jul 2022 15:12:25 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff + x-ms-original-request-ids: + - 501c2d47-ab1a-4b09-86fe-8f9efd6e6159 + - 6561101d-9ec7-4f22-b89f-b60a33696bd4 + - 56dbfe58-d268-4116-95c3-cef48089e068 + - 6bbb042f-a83e-49fc-b6c4-b4282f0b536b status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana show Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' headers: cache-control: - no-cache content-length: - - '515' + - '872' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:50:57 GMT + - Mon, 18 Jul 2022 15:12:25 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"1700b00f-0000-0d00-0000-62d578500000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana delete + - grafana user list Connection: - keep-alive ParameterSetName: - - -g -n --yes + - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' headers: cache-control: - no-cache content-length: - - '515' + - '872' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:51:27 GMT + - Mon, 18 Jul 2022 15:12:25 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"1700b00f-0000-0d00-0000-62d578500000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -993,41 +1022,51 @@ interactions: - '*/*' Accept-Encoding: - gzip, deflate - CommandName: - - grafana delete Connection: - keep-alive - ParameterSetName: - - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python-requests/2.27.1 + content-type: + - application/json method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/org/users response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '[{"orgId":1,"userId":2,"email":"michelletaal@hotmail.com","name":"live.com#michelletaal@hotmail.com","avatarUrl":"/avatar/317555acbf6221af100468eb95e86ea0","login":"michelletaal@hotmail.com","role":"Admin","lastSeenAt":"2022-07-18T15:12:27Z","lastSeenAtAge":"\u003c + 1 minute"}]' headers: cache-control: - no-cache + connection: + - keep-alive content-length: - - '515' + - '277' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - - application/json; charset=utf-8 + - application/json date: - - Tue, 12 Jul 2022 07:51:57 GMT - etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - Mon, 18 Jul 2022 15:12:27 GMT expires: - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157148.021.178.971386|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - - max-age=31536000; includeSubDomains + - max-age=15724800; includeSubDomains x-content-type-options: - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1035,83 +1074,103 @@ interactions: - '*/*' Accept-Encoding: - gzip, deflate - CommandName: - - grafana delete Connection: - keep-alive - ParameterSetName: - - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python-requests/2.27.1 + content-type: + - application/json method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/user response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":2,"email":"michelletaal@hotmail.com","name":"live.com#michelletaal@hotmail.com","login":"michelletaal@hotmail.com","theme":"","orgId":1,"isGrafanaAdmin":false,"isDisabled":false,"isExternal":true,"authLabels":["OAuth"],"updatedAt":"2022-07-18T15:12:27Z","createdAt":"2022-07-18T15:12:27Z","avatarUrl":"/avatar/317555acbf6221af100468eb95e86ea0"}' headers: cache-control: - no-cache + connection: + - keep-alive content-length: - - '515' + - '350' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - - application/json; charset=utf-8 + - application/json date: - - Tue, 12 Jul 2022 07:52:27 GMT - etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - Mon, 18 Jul 2022 15:12:27 GMT expires: - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157148.677.171.529575|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - - max-age=31536000; includeSubDomains + - max-age=15724800; includeSubDomains x-content-type-options: - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block status: - code: 202 - message: Accepted + code: 200 + message: OK - request: - body: null + body: '{"title": "Test Folder"}' headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate - CommandName: - - grafana delete Connection: - keep-alive - ParameterSetName: - - -g -n --yes + Content-Length: + - '24' User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":11,"uid":"kR-MPFg4k","title":"Test Folder","url":"/dashboards/f/kR-MPFg4k/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-18T15:12:28Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-18T15:12:28Z","version":1}' headers: cache-control: - no-cache + connection: + - keep-alive content-length: - - '515' + - '327' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - - application/json; charset=utf-8 + - application/json date: - - Tue, 12 Jul 2022 07:52:58 GMT - etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - Mon, 18 Jul 2022 15:12:28 GMT expires: - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157149.02.178.474646|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - - max-age=31536000; includeSubDomains + - max-age=15724800; includeSubDomains x-content-type-options: - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1119,41 +1178,1893 @@ interactions: - '*/*' Accept-Encoding: - gzip, deflate - CommandName: - - grafana delete Connection: - keep-alive - ParameterSetName: - - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python-requests/2.27.1 + content-type: + - application/json method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/Test%20Folder response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"accessErrorId":"ACE6282519535","message":"You''ll need additional + permissions to perform this action. Permissions needed: folders:read","title":"Access + denied"} + + ' headers: cache-control: - no-cache + connection: + - keep-alive content-length: - - '515' + - '162' content-type: - - application/json; charset=utf-8 + - application/json; charset=UTF-8 date: - - Tue, 12 Jul 2022 07:53:28 GMT - etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - Mon, 18 Jul 2022 15:12:28 GMT expires: - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157149.61.170.370706|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - - max-age=31536000; includeSubDomains + - max-age=15724800; includeSubDomains x-content-type-options: - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block status: - code: 202 - message: Accepted + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/Test%20Folder + response: + body: + string: '{"message":"folder not found","status":"not-found"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '51' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:28 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157149.961.179.278947|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"kR-MPFg4k","title":"Test + Folder"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '99' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157150.139.173.756765|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/kR-MPFg4k + response: + body: + string: '{"accessErrorId":"ACE9811786079","message":"You''ll need additional + permissions to perform this action. Permissions needed: folders:read","title":"Access + denied"} + + ' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '162' + content-type: + - application/json; charset=UTF-8 + date: + - Mon, 18 Jul 2022 15:12:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157150.486.173.47216|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/kR-MPFg4k + response: + body: + string: '{"id":11,"uid":"kR-MPFg4k","title":"Test Folder","url":"/dashboards/f/kR-MPFg4k/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-18T15:12:28Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-18T15:12:28Z","version":1}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '327' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157150.694.173.851546|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"title": "Test Folder Update", "version": 1}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '45' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: PUT + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/kR-MPFg4k + response: + body: + string: '{"id":11,"uid":"kR-MPFg4k","title":"Test Folder Update","url":"/dashboards/f/kR-MPFg4k/test-folder-update","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-18T15:12:28Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-18T15:12:30Z","version":2}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '341' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:30 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157150.989.170.464249|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"kR-MPFg4k","title":"Test + Folder Update"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '106' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:30 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157151.326.172.96042|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/Test%20Folder%20Update + response: + body: + string: '{"accessErrorId":"ACE0205915613","message":"You''ll need additional + permissions to perform this action. Permissions needed: folders:read","title":"Access + denied"} + + ' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '162' + content-type: + - application/json; charset=UTF-8 + date: + - Mon, 18 Jul 2022 15:12:30 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157151.638.170.274542|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/Test%20Folder%20Update + response: + body: + string: '{"message":"folder not found","status":"not-found"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '51' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:30 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157151.799.177.698002|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"kR-MPFg4k","title":"Test + Folder Update"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '106' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:31 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157152.041.172.662538|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/kR-MPFg4k + response: + body: + string: '{"id":11,"message":"Folder Test Folder Update deleted","title":"Test + Folder Update"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157152.387.171.738867|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '49' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157153.472.179.656189|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"access": "proxy", "jsonData": {"azureAuthType": "msi", "subscriptionId": + ""}, "name": "Test Azure Monitor Data Source", "type": "grafana-azure-monitor-datasource"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '165' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources + response: + body: + string: '{"datasource":{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure + Monitor Data Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false},"id":2,"message":"Datasource + added","name":"Test Azure Monitor Data Source"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '461' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157153.81.171.721197|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source + response: + body: + string: '{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure Monitor Data + Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '370' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157154.217.172.520191|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source + response: + body: + string: '{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure Monitor Data + Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '370' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157154.58.177.495809|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"access": "proxy", "jsonData": {"azureAuthType": "msi", "subscriptionId": + ""}, "name": "Test Azure Monitor Data Source", "type": "grafana-azure-monitor-datasource"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '165' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: PUT + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/2 + response: + body: + string: '{"datasource":{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure + Monitor Data Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false},"id":2,"message":"Datasource + updated","name":"Test Azure Monitor Data Source"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '463' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157154.798.171.575536|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources + response: + body: + string: '[{"id":1,"uid":"azure-monitor-oob","orgId":1,"name":"Azure Monitor","type":"grafana-azure-monitor-datasource","typeName":"Azure + Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":"26552D79-E694-44BA-A54D-5A38C2940D48"},"readOnly":false},{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test + Azure Monitor Data Source","type":"grafana-azure-monitor-datasource","typeName":"Azure + Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"readOnly":false}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '820' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157155.183.170.910701|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source + response: + body: + string: '{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure Monitor Data + Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '370' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157155.632.178.746027|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/uid/rJyGEKRVz + response: + body: + string: '{"id":2,"message":"Data source deleted"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '40' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157155.893.170.609318|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources + response: + body: + string: '[{"id":1,"uid":"azure-monitor-oob","orgId":1,"name":"Azure Monitor","type":"grafana-azure-monitor-datasource","typeName":"Azure + Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":"26552D79-E694-44BA-A54D-5A38C2940D48"},"readOnly":false}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '424' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157156.343.178.954661|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"name": "Test Teams Notification Channel", "settings": {"url": "https://test.webhook.office.com/IncomingWebhook/"}, + "type": "teams"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '133' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications + response: + body: + string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35.737299563Z","updated":"2022-07-18T15:12:35.737301563Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '340' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157156.715.172.113424|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/E5lMPFR4z + response: + body: + string: '{"message":"notificationId is invalid","traceID":"19e336e76633689867f30e81630c0a97"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157157.16.173.642126|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/E5lMPFR4z + response: + body: + string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:35Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157157.341.179.790930|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/E5lMPFR4z + response: + body: + string: '{"message":"notificationId is invalid","traceID":"0e0649d7196cf4f206e45f37f3191a1b"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157157.775.173.134410|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/E5lMPFR4z + response: + body: + string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:35Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157158.018.172.996307|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"name": "Test Teams Notification Channel", "settings": {"url": "https://test.webhook.office.com/IncomingWebhook/"}, + "type": "teams", "id": 1}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '142' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: PUT + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/1 + response: + body: + string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157158.237.176.158394|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications + response: + body: + string: '[{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '322' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157158.688.171.529216|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/E5lMPFR4z + response: + body: + string: '{"message":"notificationId is invalid","traceID":"3c8c4d374727daa213dbfd9442b8a643"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157159.033.170.255635|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/E5lMPFR4z + response: + body: + string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157159.199.173.774472|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/1 + response: + body: + string: '{"message":"Notification deleted"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '34' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157159.374.173.257206|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications + response: + body: + string: '[]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157159.766.170.578200|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"dashboard": {"title": "Test Dashboard"}, "overwrite": false}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '62' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/db + response: + body: + string: '{"id":12,"slug":"test-dashboard","status":"success","uid":"VyjMPFg4k","url":"/d/VyjMPFg4k/test-dashboard","version":1}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '118' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157160.124.170.315984|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/uid/VyjMPFg4k + response: + body: + string: '{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"test-dashboard","url":"/d/VyjMPFg4k/test-dashboard","expires":"0001-01-01T00:00:00Z","created":"2022-07-18T15:12:39Z","updated":"2022-07-18T15:12:39Z","updatedBy":"michelletaal@hotmail.com","createdBy":"michelletaal@hotmail.com","version":1,"hasAcl":false,"isFolder":false,"folderId":0,"folderUid":"","folderTitle":"General","folderUrl":"","provisioned":false,"provisionedExternalId":"","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}},"isPublic":false},"dashboard":{"id":12,"title":"Test + Dashboard","uid":"VyjMPFg4k","version":1}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157160.573.170.334413|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"dashboard": {"title": "Test Dashboard", "uid": "VyjMPFg4k", "version": + 1}, "overwrite": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '95' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/db + response: + body: + string: '{"id":12,"slug":"test-dashboard","status":"success","uid":"VyjMPFg4k","url":"/d/VyjMPFg4k/test-dashboard","version":2}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '118' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157161.005.178.719206|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/search?type=dash-db + response: + body: + string: '[{"id":6,"uid":"dyzn5SK7z","title":"Azure / Alert Consumption","uri":"db/azure-alert-consumption","url":"/d/dyzn5SK7z/azure-alert-consumption","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"uid":"Yo38mcvnz","title":"Azure + / Insights / Applications","uri":"db/azure-insights-applications","url":"/d/Yo38mcvnz/azure-insights-applications","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"uid":"INH9berMk","title":"Azure + / Insights / Cosmos DB","uri":"db/azure-insights-cosmos-db","url":"/d/INH9berMk/azure-insights-cosmos-db","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"uid":"8UDB1s3Gk","title":"Azure + / Insights / Data Explorer Clusters","uri":"db/azure-insights-data-explorer-clusters","url":"/d/8UDB1s3Gk/azure-insights-data-explorer-clusters","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"uid":"tQZAMYrMk","title":"Azure + / Insights / Key Vaults","uri":"db/azure-insights-key-vaults","url":"/d/tQZAMYrMk/azure-insights-key-vaults","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"3n2E8CrGk","title":"Azure + / Insights / Storage Accounts","uri":"db/azure-insights-storage-accounts","url":"/d/3n2E8CrGk/azure-insights-storage-accounts","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AzVmInsightsByRG","title":"Azure + / Insights / Virtual Machines by Resource Group","uri":"db/azure-insights-virtual-machines-by-resource-group","url":"/d/AzVmInsightsByRG/azure-insights-virtual-machines-by-resource-group","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"uid":"AzVmInsightsByWS","title":"Azure + / Insights / Virtual Machines by Workspace","uri":"db/azure-insights-virtual-machines-by-workspace","url":"/d/AzVmInsightsByWS/azure-insights-virtual-machines-by-workspace","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"uid":"Mtwt2BV7k","title":"Azure + / Resources Overview","uri":"db/azure-resources-overview","url":"/d/Mtwt2BV7k/azure-resources-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":12,"uid":"VyjMPFg4k","title":"Test + Dashboard","uri":"db/test-dashboard","url":"/d/VyjMPFg4k/test-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"sortMeta":0}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157161.394.173.771382|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/uid/VyjMPFg4k + response: + body: + string: '{"id":12,"message":"Dashboard Test Dashboard deleted","title":"Test + Dashboard"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '79' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Mon, 18 Jul 2022 15:12:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157161.772.170.844168|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: @@ -1161,46 +3072,72 @@ interactions: - '*/*' Accept-Encoding: - gzip, deflate - CommandName: - - grafana delete Connection: - keep-alive - ParameterSetName: - - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - python-requests/2.27.1 + content-type: + - application/json method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/search?type=dash-db response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '[{"id":6,"uid":"dyzn5SK7z","title":"Azure / Alert Consumption","uri":"db/azure-alert-consumption","url":"/d/dyzn5SK7z/azure-alert-consumption","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"uid":"Yo38mcvnz","title":"Azure + / Insights / Applications","uri":"db/azure-insights-applications","url":"/d/Yo38mcvnz/azure-insights-applications","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"uid":"INH9berMk","title":"Azure + / Insights / Cosmos DB","uri":"db/azure-insights-cosmos-db","url":"/d/INH9berMk/azure-insights-cosmos-db","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"uid":"8UDB1s3Gk","title":"Azure + / Insights / Data Explorer Clusters","uri":"db/azure-insights-data-explorer-clusters","url":"/d/8UDB1s3Gk/azure-insights-data-explorer-clusters","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"uid":"tQZAMYrMk","title":"Azure + / Insights / Key Vaults","uri":"db/azure-insights-key-vaults","url":"/d/tQZAMYrMk/azure-insights-key-vaults","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"3n2E8CrGk","title":"Azure + / Insights / Storage Accounts","uri":"db/azure-insights-storage-accounts","url":"/d/3n2E8CrGk/azure-insights-storage-accounts","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AzVmInsightsByRG","title":"Azure + / Insights / Virtual Machines by Resource Group","uri":"db/azure-insights-virtual-machines-by-resource-group","url":"/d/AzVmInsightsByRG/azure-insights-virtual-machines-by-resource-group","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"uid":"AzVmInsightsByWS","title":"Azure + / Insights / Virtual Machines by Workspace","uri":"db/azure-insights-virtual-machines-by-workspace","url":"/d/AzVmInsightsByWS/azure-insights-virtual-machines-by-workspace","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"uid":"Mtwt2BV7k","title":"Azure + / Resources Overview","uri":"db/azure-resources-overview","url":"/d/Mtwt2BV7k/azure-resources-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0}]' headers: cache-control: - no-cache - content-length: - - '515' + connection: + - keep-alive + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - - application/json; charset=utf-8 + - application/json date: - - Tue, 12 Jul 2022 07:53:58 GMT - etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - Mon, 18 Jul 2022 15:12:41 GMT expires: - '-1' pragma: - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658157162.155.172.236125|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - - max-age=31536000; includeSubDomains + - max-age=15724800; includeSubDomains + transfer-encoding: + - chunked x-content-type-options: - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1210,73 +3147,93 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' headers: cache-control: - no-cache content-length: - - '515' + - '872' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:54:28 GMT + - Mon, 18 Jul 2022 15:12:40 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"1700b00f-0000-0d00-0000-62d578500000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - grafana delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: 'null' headers: + api-supported-versions: + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview cache-control: - no-cache content-length: - - '515' + - '4' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:54:58 GMT + - Mon, 18 Jul 2022 15:12:41 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"17006210-0000-0d00-0000-62d5786a0000"' expires: - '-1' + location: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview pragma: - no-cache + request-context: + - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: code: 202 message: Accepted @@ -1294,12 +3251,12 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache @@ -1308,9 +3265,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:55:28 GMT + - Mon, 18 Jul 2022 15:13:12 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: @@ -1336,12 +3293,12 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache @@ -1350,9 +3307,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:55:59 GMT + - Mon, 18 Jul 2022 15:13:42 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: @@ -1378,12 +3335,12 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-12T07:49:56.6875163Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache @@ -1392,9 +3349,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:56:29 GMT + - Mon, 18 Jul 2022 15:14:11 GMT etag: - - '"2e00ec80-0000-0d00-0000-62cd27b30000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: @@ -1420,38 +3377,34 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","name":"e393a821-34ab-41c7-8db4-c18e35f8e038*9A2346E76768670B40CB26F702DFDB56373DE9086395100AD563F7B0AC324E27","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-12T07:49:56.6875163Z","endTime":"2022-07-12T07:56:30.3768792Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '575' + - '515' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:56:59 GMT + - Mon, 18 Jul 2022 15:14:41 GMT etag: - - '"2e009682-0000-0d00-0000-62cd292e0000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1460,45 +3413,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - - python/3.8.8 (Windows-10-10.0.22000-SP0) msrest/0.7.0 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 - Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27feb4f180-d80c-4514-84f8-c55f3a802660%27&api-version=2020-04-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:57:00 GMT + - Mon, 18 Jul 2022 15:15:11 GMT + etag: + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1507,42 +3455,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwwcus","name":"yugangwwcus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-06-18T15:53:09.0679646Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-18T15:53:09.0679646Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwazcan2","name":"yugangwazcan2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus2euap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T02:35:15.1213797Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T02:35:15.1213797Z"},"identity":{"principalId":"8e7b9656-ab4e-4e8b-9337-45d561858190","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://yugangwazcan2-e7djeqffhkgghba8.eus2e.grafana.azure.com","zoneRedundancy":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwazaz2","name":"yugangwazaz2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus2euap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-07-12T03:11:21.3832579Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-12T03:11:21.3832579Z"},"identity":{"principalId":"67814b93-5155-4d82-99f2-ab2705d70e50","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.5.1","endpoint":"https://yugangwazaz2-fpdccffqa6d8h4gj.eus2e.grafana.azure.com","zoneRedundancy":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '2581' + - '515' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Jul 2022 07:57:01 GMT + - Mon, 18 Jul 2022 15:15:42 GMT + etag: + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1551,44 +3497,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:42:02 GMT + - Mon, 18 Jul 2022 15:16:12 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1597,44 +3539,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:42:31 GMT + - Mon, 18 Jul 2022 15:16:42 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1643,44 +3581,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:43:01 GMT + - Mon, 18 Jul 2022 15:17:12 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1689,44 +3623,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:43:32 GMT + - Mon, 18 Jul 2022 15:17:42 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1735,44 +3665,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:44:01 GMT + - Mon, 18 Jul 2022 15:18:12 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1781,44 +3707,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:44:31 GMT + - Mon, 18 Jul 2022 15:18:42 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1827,44 +3749,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' headers: cache-control: - no-cache content-length: - - '504' + - '515' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:45:02 GMT + - Mon, 18 Jul 2022 15:19:12 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005a54-0000-0d00-0000-62d5786d0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1873,29 +3791,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-18T15:12:41.7399633Z","endTime":"2022-07-18T15:19:21.5430867Z","error":{},"properties":null}' headers: cache-control: - no-cache content-length: - - '504' + - '575' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:45:32 GMT + - Mon, 18 Jul 2022 15:19:42 GMT etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - '"35005055-0000-0d00-0000-62d579f90000"' expires: - '-1' pragma: @@ -1915,37 +3833,40 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27b42e4412-5d1f-4a37-8182-2c9498ae3a54%27&api-version=2020-04-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"value":[{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:22.7583616Z","updatedOn":"2022-07-18T15:12:22.7583616Z","createdBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f","type":"Microsoft.Authorization/roleAssignments","name":"8ac028c5-077a-402f-b617-4d28e1adb89f"}]}' headers: cache-control: - no-cache content-length: - - '504' + - '869' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:46:01 GMT - etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - Mon, 18 Jul 2022 15:19:42 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1961,37 +3882,44 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana delete Connection: - keep-alive + Content-Length: + - '0' + Cookie: + - x-ms-gateway-slice=Production ParameterSetName: - - -g -n -l --tags + - -g -n --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f?api-version=2020-04-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-16T21:35:30.5565649Z"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:22.7583616Z","updatedOn":"2022-07-18T15:12:22.7583616Z","createdBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f","type":"Microsoft.Authorization/roleAssignments","name":"8ac028c5-077a-402f-b617-4d28e1adb89f"}' headers: cache-control: - no-cache content-length: - - '504' + - '857' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:46:32 GMT - etag: - - '"2200631d-0000-0d00-0000-62d32f220000"' + - Mon, 18 Jul 2022 15:19:44 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -2000,6 +3928,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: code: 200 message: OK @@ -2007,54 +3937,44 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana list Connection: - keep-alive - ParameterSetName: - - -g -n -l --tags User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6?api-version=2021-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","name":"d1bde8ae-ca86-43a4-895b-88c428956559*3C7828EE6F44EEB0099CF946631B2D3B5A140FD68D449817B6FD63895722B0C6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Failed","startTime":"2022-07-16T21:35:30.5565649Z","endTime":"2022-07-16T21:46:46.6487735Z","error":{"code":"CreationError","message":"Internal - error occurred. Workspace name: CLITESTAMG, correlation Id: 53899686-9eda-40a4-afde-454d56aa7f52. - Please delete the workspace and retry creation."}}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' headers: cache-control: - no-cache content-length: - - '743' + - '879' content-type: - application/json; charset=utf-8 date: - - Sat, 16 Jul 2022 21:47:02 GMT - etag: - - '"22004c1e-0000-0d00-0000-62d331c60000"' + - Mon, 18 Jul 2022 15:19:46 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff x-ms-original-request-ids: - - 18294e7a-820f-4f28-abac-04861aa86e36 - - 0599d79f-dae5-4f0d-b59b-53c83083ae0e - - e95fb2d0-5714-42fc-8463-149f833819c0 - - 1bc2a848-5fc1-4e3f-add6-c1a30a631dd1 - - 0ba45835-645c-477a-86f7-0d800b69501f - - d44f1cb1-dfbd-4c16-8f65-3834d8efe815 + - d4901572-5ad3-4398-ab51-7e6ce04509e5 + - 256e4b25-741c-4b4b-b166-9300430d6846 + - 41a7e989-044f-4dd1-9963-f3a9b39a615f + - 23c18f6d-c17f-41f7-8e76-dcc9f4df1b71 status: code: 200 message: OK diff --git a/src/amg/azext_amg/tests/latest/test_amg_scenario.py b/src/amg/azext_amg/tests/latest/test_amg_scenario.py index 83106d443c8..2f099a7d8c5 100644 --- a/src/amg/azext_amg/tests/latest/test_amg_scenario.py +++ b/src/amg/azext_amg/tests/latest/test_amg_scenario.py @@ -132,7 +132,6 @@ def test_amg_e2e(self, resource_group): 'definition': test_dashboard, 'definition_name': definition_name, 'definition_slug': slug, - 'import_id': 14986 }) response_create = self.cmd('grafana dashboard create -g {rg} -n {name} --definition "{definition}" --title "{definition_name}"', checks=[ @@ -155,20 +154,12 @@ def test_amg_e2e(self, resource_group): self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() self.assertTrue(response_update["version"] == response_create["version"] + 1) - response_import = self.cmd('grafana dashboard import -g {rg} -n {name} --definition {import_id}', checks=[ - self.check("[slug]", "['azure-resources-overview']")]).get_output_in_json() - - self.kwargs.update({ - 'import_dashboard_uid': response_import["uid"], - }) - response_list = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() self.assertTrue(len(response_list) > 0) self.cmd('grafana dashboard delete -g {rg} -n {name} --dashboard "{dashboard_uid}"') - self.cmd('grafana dashboard delete -g {rg} -n {name} --dashboard "{import_dashboard_uid}"') response_delete = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_delete) == len(response_list) - 2) + self.assertTrue(len(response_delete) == len(response_list) - 1) # Close-out Instance self.cmd('grafana delete -g {rg} -n {name} --yes') From d2fd7e6ed78108a20d9ae354145da8785724fd9f Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Tue, 19 Jul 2022 14:17:29 +0200 Subject: [PATCH 11/12] update header; delete test output --- .../tests/latest/recordings/test_amg_e2e.yaml | 3981 ----------------- .../tests/latest/test_definitions.py | 4 + 2 files changed, 4 insertions(+), 3981 deletions(-) delete mode 100644 src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml diff --git a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml deleted file mode 100644 index bf135178c65..00000000000 --- a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml +++ /dev/null @@ -1,3981 +0,0 @@ -interactions: -- request: - body: '{"sku": {"name": "Standard"}, "properties": {}, "identity": {"type": "SystemAssigned"}, - "tags": {"foo": "doo"}, "location": "westeurope"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - Content-Length: - - '137' - Content-Type: - - application/json - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' - headers: - api-supported-versions: - - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 - azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - cache-control: - - no-cache - content-length: - - '868' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:07:16 GMT - etag: - - '"17007808-0000-0d00-0000-62d577250000"' - expires: - - '-1' - location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - pragma: - - no-cache - request-context: - - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:07:47 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:08:17 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:08:47 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:09:16 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:09:46 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:10:16 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:10:47 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:11:17 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-18T15:07:16.8592448Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:11:47 GMT - etag: - - '"35008753-0000-0d00-0000-62d577240000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"42eedee7-d42e-4cea-86b8-d4b5bf57d1e9*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-18T15:07:16.8592448Z","endTime":"2022-07-18T15:12:16.1171562Z","error":{},"properties":null}' - headers: - cache-control: - - no-cache - content-length: - - '575' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:17 GMT - etag: - - '"35004554-0000-0d00-0000-62d578500000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' - headers: - cache-control: - - no-cache - content-length: - - '872' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:17 GMT - etag: - - '"1700b00f-0000-0d00-0000-62d578500000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-graphrbac/0.60.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/users?$filter=userPrincipalName%20eq%20%27michelletaal%40hotmail.com%27%20or%20mail%20eq%20%27michelletaal%40hotmail.com%27&api-version=1.6 - response: - body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"ed86bea3-5154-4d06-839b-11ced3dc0557","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2022-03-04T13:39:33Z","creationType":null,"department":null,"dirSyncEnabled":null,"displayName":"michelletaal@hotmail.com","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Michelle","immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"michelletaal@hotmail.com","mailNickname":"michelletaal_hotmail.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["michelletaal@hotmail.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":"en","provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:michelletaal@hotmail.com"],"refreshTokensValidFromDateTime":"2022-03-04T13:39:33Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":"Taal","telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/ed86bea3-5154-4d06-839b-11ced3dc0557/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"NL","userIdentities":[],"userPrincipalName":"michelletaal_hotmail.com#EXT#@michelletaalhotmail.onmicrosoft.com","userState":null,"userStateChangedOn":null,"userType":"Member"}]}' - headers: - access-control-allow-origin: - - '*' - cache-control: - - no-cache - content-length: - - '1707' - content-type: - - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 - dataserviceversion: - - 3.0; - date: - - Mon, 18 Jul 2022 15:12:17 GMT - duration: - - '498829' - expires: - - '-1' - ocp-aad-diagnostics-server-name: - - TCVX03SeT3iR55XtHX8+JLZodkjqZSvr7TJ+3w+wtl0= - ocp-aad-session-key: - - VVnimRP6JsYQ7-kRf1u-U9nACsC3M27Qtg4dHnfH8bCmEsHJALOyz3rDKoFPFelPbf7aFgJC8rbyVk_L3_5mQp9UdRz1r-cZJoOy5RvqtvzSwHNw6UwIdMqRhwIEmYie.yqDxsDe-rpVNB6ZW8_5SSKM-aINNbGzrypg4VOafMe8 - pragma: - - no-cache - request-id: - - 8338ec1d-550d-47a2-a68c-cdaf42412842 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-ms-dirapi-data-contract-version: - - '1.6' - x-ms-resource-unit: - - '2' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Grafana%20Admin%27&api-version=2018-01-01-preview - response: - body: - string: '{"value":[{"properties":{"roleName":"Grafana Admin","type":"BuiltInRole","description":"Built-in - Grafana admin role","assignableScopes":["/"],"permissions":[{"actions":[],"notActions":[],"dataActions":["Microsoft.Dashboard/grafana/ActAsGrafanaAdmin/action"],"notDataActions":[]}],"createdOn":"2021-07-15T21:32:35.3802340Z","updatedOn":"2021-11-11T20:15:14.8104670Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","type":"Microsoft.Authorization/roleDefinitions","name":"22926164-76b3-42b3-bc55-97df8dab3e41"}]}' - headers: - cache-control: - - no-cache - content-length: - - '644' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:17 GMT - expires: - - '-1' - pragma: - - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41", - "principalId": "ed86bea3-5154-4d06-839b-11ced3dc0557"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - Content-Length: - - '233' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l --tags - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/b4959396-b6d3-457f-a3e5-4bbdc1da62dc?api-version=2020-04-01-preview - response: - body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","principalId":"ed86bea3-5154-4d06-839b-11ced3dc0557","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:19.0886609Z","updatedOn":"2022-07-18T15:12:19.3542913Z","createdBy":null,"updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/b4959396-b6d3-457f-a3e5-4bbdc1da62dc","type":"Microsoft.Authorization/roleAssignments","name":"b4959396-b6d3-457f-a3e5-4bbdc1da62dc"}' - headers: - cache-control: - - no-cache - content-length: - - '977' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:20 GMT - expires: - - '-1' - pragma: - - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Monitoring%20Reader%27&api-version=2018-01-01-preview - response: - body: - string: '{"value":[{"properties":{"roleName":"Monitoring Reader","type":"BuiltInRole","description":"Can - read all monitoring data.","assignableScopes":["/"],"permissions":[{"actions":["*/read","Microsoft.OperationalInsights/workspaces/search/action","Microsoft.Support/*"],"notActions":[],"dataActions":["Microsoft.Monitor/accounts/data/metrics/read"],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-07-07T00:23:17.8373589Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","type":"Microsoft.Authorization/roleDefinitions","name":"43d0d8ad-25c7-4714-9337-8ba259a9fe05"}]}' - headers: - cache-control: - - no-cache - content-length: - - '729' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:20 GMT - expires: - - '-1' - pragma: - - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05", - "principalId": "b42e4412-5d1f-4a37-8182-2c9498ae3a54"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana create - Connection: - - keep-alive - Content-Length: - - '233' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l --tags - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f?api-version=2020-04-01-preview - response: - body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:21.8052732Z","updatedOn":"2022-07-18T15:12:22.1802340Z","createdBy":null,"updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f","type":"Microsoft.Authorization/roleAssignments","name":"8ac028c5-077a-402f-b617-4d28e1adb89f"}' - headers: - cache-control: - - no-cache - content-length: - - '823' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:23 GMT - expires: - - '-1' - pragma: - - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '884' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-original-request-ids: - - cd8c5ba1-f070-4231-b50b-b95d0c0f3681 - - 54a7203b-2f03-4594-baae-ff138e9cace2 - - 81ffcbb5-2035-42fd-8298-d54543ff49e9 - - 069850ca-6bcf-487a-afe3-799bc8c9d529 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana list - Connection: - - keep-alive - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '1752' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-original-request-ids: - - 501c2d47-ab1a-4b09-86fe-8f9efd6e6159 - - 6561101d-9ec7-4f22-b89f-b60a33696bd4 - - 56dbfe58-d268-4116-95c3-cef48089e068 - - 6bbb042f-a83e-49fc-b6c4-b4282f0b536b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' - headers: - cache-control: - - no-cache - content-length: - - '872' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:25 GMT - etag: - - '"1700b00f-0000-0d00-0000-62d578500000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana user list - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' - headers: - cache-control: - - no-cache - content-length: - - '872' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:25 GMT - etag: - - '"1700b00f-0000-0d00-0000-62d578500000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/org/users - response: - body: - string: '[{"orgId":1,"userId":2,"email":"michelletaal@hotmail.com","name":"live.com#michelletaal@hotmail.com","avatarUrl":"/avatar/317555acbf6221af100468eb95e86ea0","login":"michelletaal@hotmail.com","role":"Admin","lastSeenAt":"2022-07-18T15:12:27Z","lastSeenAtAge":"\u003c - 1 minute"}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '277' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:27 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157148.021.178.971386|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/user - response: - body: - string: '{"id":2,"email":"michelletaal@hotmail.com","name":"live.com#michelletaal@hotmail.com","login":"michelletaal@hotmail.com","theme":"","orgId":1,"isGrafanaAdmin":false,"isDisabled":false,"isExternal":true,"authLabels":["OAuth"],"updatedAt":"2022-07-18T15:12:27Z","createdAt":"2022-07-18T15:12:27Z","avatarUrl":"/avatar/317555acbf6221af100468eb95e86ea0"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '350' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:27 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157148.677.171.529575|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"title": "Test Folder"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '24' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: POST - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders - response: - body: - string: '{"id":11,"uid":"kR-MPFg4k","title":"Test Folder","url":"/dashboards/f/kR-MPFg4k/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-18T15:12:28Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-18T15:12:28Z","version":1}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '327' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:28 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157149.02.178.474646|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/Test%20Folder - response: - body: - string: '{"accessErrorId":"ACE6282519535","message":"You''ll need additional - permissions to perform this action. Permissions needed: folders:read","title":"Access - denied"} - - ' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '162' - content-type: - - application/json; charset=UTF-8 - date: - - Mon, 18 Jul 2022 15:12:28 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157149.61.170.370706|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 403 - message: Forbidden -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/Test%20Folder - response: - body: - string: '{"message":"folder not found","status":"not-found"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '51' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:28 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157149.961.179.278947|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders - response: - body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"kR-MPFg4k","title":"Test - Folder"}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '99' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:29 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157150.139.173.756765|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/kR-MPFg4k - response: - body: - string: '{"accessErrorId":"ACE9811786079","message":"You''ll need additional - permissions to perform this action. Permissions needed: folders:read","title":"Access - denied"} - - ' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '162' - content-type: - - application/json; charset=UTF-8 - date: - - Mon, 18 Jul 2022 15:12:29 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157150.486.173.47216|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 403 - message: Forbidden -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/kR-MPFg4k - response: - body: - string: '{"id":11,"uid":"kR-MPFg4k","title":"Test Folder","url":"/dashboards/f/kR-MPFg4k/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-18T15:12:28Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-18T15:12:28Z","version":1}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '327' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:29 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157150.694.173.851546|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"title": "Test Folder Update", "version": 1}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '45' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: PUT - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/kR-MPFg4k - response: - body: - string: '{"id":11,"uid":"kR-MPFg4k","title":"Test Folder Update","url":"/dashboards/f/kR-MPFg4k/test-folder-update","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-18T15:12:28Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-18T15:12:30Z","version":2}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '341' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:30 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157150.989.170.464249|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders - response: - body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"kR-MPFg4k","title":"Test - Folder Update"}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '106' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:30 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157151.326.172.96042|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/Test%20Folder%20Update - response: - body: - string: '{"accessErrorId":"ACE0205915613","message":"You''ll need additional - permissions to perform this action. Permissions needed: folders:read","title":"Access - denied"} - - ' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '162' - content-type: - - application/json; charset=UTF-8 - date: - - Mon, 18 Jul 2022 15:12:30 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157151.638.170.274542|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 403 - message: Forbidden -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/Test%20Folder%20Update - response: - body: - string: '{"message":"folder not found","status":"not-found"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '51' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:30 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157151.799.177.698002|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders - response: - body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"kR-MPFg4k","title":"Test - Folder Update"}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '106' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:31 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157152.041.172.662538|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: DELETE - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/kR-MPFg4k - response: - body: - string: '{"id":11,"message":"Folder Test Folder Update deleted","title":"Test - Folder Update"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '84' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:32 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157152.387.171.738867|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders - response: - body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '49' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:32 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157153.472.179.656189|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"access": "proxy", "jsonData": {"azureAuthType": "msi", "subscriptionId": - ""}, "name": "Test Azure Monitor Data Source", "type": "grafana-azure-monitor-datasource"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '165' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: POST - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources - response: - body: - string: '{"datasource":{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure - Monitor Data Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false},"id":2,"message":"Datasource - added","name":"Test Azure Monitor Data Source"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '461' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:32 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157153.81.171.721197|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source - response: - body: - string: '{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure Monitor Data - Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '370' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:33 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157154.217.172.520191|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source - response: - body: - string: '{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure Monitor Data - Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '370' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:33 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157154.58.177.495809|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"access": "proxy", "jsonData": {"azureAuthType": "msi", "subscriptionId": - ""}, "name": "Test Azure Monitor Data Source", "type": "grafana-azure-monitor-datasource"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '165' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: PUT - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/2 - response: - body: - string: '{"datasource":{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure - Monitor Data Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false},"id":2,"message":"Datasource - updated","name":"Test Azure Monitor Data Source"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '463' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:33 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157154.798.171.575536|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources - response: - body: - string: '[{"id":1,"uid":"azure-monitor-oob","orgId":1,"name":"Azure Monitor","type":"grafana-azure-monitor-datasource","typeName":"Azure - Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":"26552D79-E694-44BA-A54D-5A38C2940D48"},"readOnly":false},{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test - Azure Monitor Data Source","type":"grafana-azure-monitor-datasource","typeName":"Azure - Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"readOnly":false}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '820' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:34 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157155.183.170.910701|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source - response: - body: - string: '{"id":2,"uid":"rJyGEKRVz","orgId":1,"name":"Test Azure Monitor Data - Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '370' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:34 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157155.632.178.746027|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: DELETE - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/uid/rJyGEKRVz - response: - body: - string: '{"id":2,"message":"Data source deleted"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '40' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:34 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157155.893.170.609318|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources - response: - body: - string: '[{"id":1,"uid":"azure-monitor-oob","orgId":1,"name":"Azure Monitor","type":"grafana-azure-monitor-datasource","typeName":"Azure - Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":"26552D79-E694-44BA-A54D-5A38C2940D48"},"readOnly":false}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '424' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:35 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157156.343.178.954661|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"name": "Test Teams Notification Channel", "settings": {"url": "https://test.webhook.office.com/IncomingWebhook/"}, - "type": "teams"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '133' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: POST - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications - response: - body: - string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35.737299563Z","updated":"2022-07-18T15:12:35.737301563Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '340' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:35 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157156.715.172.113424|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/E5lMPFR4z - response: - body: - string: '{"message":"notificationId is invalid","traceID":"19e336e76633689867f30e81630c0a97"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '84' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:36 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157157.16.173.642126|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/E5lMPFR4z - response: - body: - string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:35Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '320' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:36 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157157.341.179.790930|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/E5lMPFR4z - response: - body: - string: '{"message":"notificationId is invalid","traceID":"0e0649d7196cf4f206e45f37f3191a1b"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '84' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:36 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157157.775.173.134410|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/E5lMPFR4z - response: - body: - string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:35Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '320' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:37 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157158.018.172.996307|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"name": "Test Teams Notification Channel", "settings": {"url": "https://test.webhook.office.com/IncomingWebhook/"}, - "type": "teams", "id": 1}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '142' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: PUT - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/1 - response: - body: - string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '320' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:37 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157158.237.176.158394|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications - response: - body: - string: '[{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '322' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:37 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157158.688.171.529216|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/E5lMPFR4z - response: - body: - string: '{"message":"notificationId is invalid","traceID":"3c8c4d374727daa213dbfd9442b8a643"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '84' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:38 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157159.033.170.255635|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/E5lMPFR4z - response: - body: - string: '{"id":1,"uid":"E5lMPFR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-18T15:12:35Z","updated":"2022-07-18T15:12:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '320' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:38 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157159.199.173.774472|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: DELETE - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/1 - response: - body: - string: '{"message":"Notification deleted"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '34' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:38 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157159.374.173.257206|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications - response: - body: - string: '[]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '2' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:38 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157159.766.170.578200|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"dashboard": {"title": "Test Dashboard"}, "overwrite": false}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '62' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: POST - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/db - response: - body: - string: '{"id":12,"slug":"test-dashboard","status":"success","uid":"VyjMPFg4k","url":"/d/VyjMPFg4k/test-dashboard","version":1}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '118' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:39 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157160.124.170.315984|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/uid/VyjMPFg4k - response: - body: - string: '{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"test-dashboard","url":"/d/VyjMPFg4k/test-dashboard","expires":"0001-01-01T00:00:00Z","created":"2022-07-18T15:12:39Z","updated":"2022-07-18T15:12:39Z","updatedBy":"michelletaal@hotmail.com","createdBy":"michelletaal@hotmail.com","version":1,"hasAcl":false,"isFolder":false,"folderId":0,"folderUid":"","folderTitle":"General","folderUrl":"","provisioned":false,"provisionedExternalId":"","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}},"isPublic":false},"dashboard":{"id":12,"title":"Test - Dashboard","uid":"VyjMPFg4k","version":1}}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '739' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:39 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157160.573.170.334413|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"dashboard": {"title": "Test Dashboard", "uid": "VyjMPFg4k", "version": - 1}, "overwrite": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '95' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: POST - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/db - response: - body: - string: '{"id":12,"slug":"test-dashboard","status":"success","uid":"VyjMPFg4k","url":"/d/VyjMPFg4k/test-dashboard","version":2}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '118' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:40 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157161.005.178.719206|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/search?type=dash-db - response: - body: - string: '[{"id":6,"uid":"dyzn5SK7z","title":"Azure / Alert Consumption","uri":"db/azure-alert-consumption","url":"/d/dyzn5SK7z/azure-alert-consumption","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"uid":"Yo38mcvnz","title":"Azure - / Insights / Applications","uri":"db/azure-insights-applications","url":"/d/Yo38mcvnz/azure-insights-applications","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"uid":"INH9berMk","title":"Azure - / Insights / Cosmos DB","uri":"db/azure-insights-cosmos-db","url":"/d/INH9berMk/azure-insights-cosmos-db","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"uid":"8UDB1s3Gk","title":"Azure - / Insights / Data Explorer Clusters","uri":"db/azure-insights-data-explorer-clusters","url":"/d/8UDB1s3Gk/azure-insights-data-explorer-clusters","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"uid":"tQZAMYrMk","title":"Azure - / Insights / Key Vaults","uri":"db/azure-insights-key-vaults","url":"/d/tQZAMYrMk/azure-insights-key-vaults","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"3n2E8CrGk","title":"Azure - / Insights / Storage Accounts","uri":"db/azure-insights-storage-accounts","url":"/d/3n2E8CrGk/azure-insights-storage-accounts","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AzVmInsightsByRG","title":"Azure - / Insights / Virtual Machines by Resource Group","uri":"db/azure-insights-virtual-machines-by-resource-group","url":"/d/AzVmInsightsByRG/azure-insights-virtual-machines-by-resource-group","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"uid":"AzVmInsightsByWS","title":"Azure - / Insights / Virtual Machines by Workspace","uri":"db/azure-insights-virtual-machines-by-workspace","url":"/d/AzVmInsightsByWS/azure-insights-virtual-machines-by-workspace","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"uid":"Mtwt2BV7k","title":"Azure - / Resources Overview","uri":"db/azure-resources-overview","url":"/d/Mtwt2BV7k/azure-resources-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":12,"uid":"VyjMPFg4k","title":"Test - Dashboard","uri":"db/test-dashboard","url":"/d/VyjMPFg4k/test-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"sortMeta":0}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:40 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157161.394.173.771382|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: DELETE - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/uid/VyjMPFg4k - response: - body: - string: '{"id":12,"message":"Dashboard Test Dashboard deleted","title":"Test - Dashboard"}' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-length: - - '79' - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:40 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157161.772.170.844168|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - content-type: - - application/json - method: GET - uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/search?type=dash-db - response: - body: - string: '[{"id":6,"uid":"dyzn5SK7z","title":"Azure / Alert Consumption","uri":"db/azure-alert-consumption","url":"/d/dyzn5SK7z/azure-alert-consumption","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"uid":"Yo38mcvnz","title":"Azure - / Insights / Applications","uri":"db/azure-insights-applications","url":"/d/Yo38mcvnz/azure-insights-applications","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"uid":"INH9berMk","title":"Azure - / Insights / Cosmos DB","uri":"db/azure-insights-cosmos-db","url":"/d/INH9berMk/azure-insights-cosmos-db","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"uid":"8UDB1s3Gk","title":"Azure - / Insights / Data Explorer Clusters","uri":"db/azure-insights-data-explorer-clusters","url":"/d/8UDB1s3Gk/azure-insights-data-explorer-clusters","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"uid":"tQZAMYrMk","title":"Azure - / Insights / Key Vaults","uri":"db/azure-insights-key-vaults","url":"/d/tQZAMYrMk/azure-insights-key-vaults","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"3n2E8CrGk","title":"Azure - / Insights / Storage Accounts","uri":"db/azure-insights-storage-accounts","url":"/d/3n2E8CrGk/azure-insights-storage-accounts","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AzVmInsightsByRG","title":"Azure - / Insights / Virtual Machines by Resource Group","uri":"db/azure-insights-virtual-machines-by-resource-group","url":"/d/AzVmInsightsByRG/azure-insights-virtual-machines-by-resource-group","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"uid":"AzVmInsightsByWS","title":"Azure - / Insights / Virtual Machines by Workspace","uri":"db/azure-insights-virtual-machines-by-workspace","url":"/d/AzVmInsightsByWS/azure-insights-virtual-machines-by-workspace","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"uid":"Mtwt2BV7k","title":"Azure - / Resources Overview","uri":"db/azure-resources-overview","url":"/d/Mtwt2BV7k/azure-resources-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure - Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0}]' - headers: - cache-control: - - no-cache - connection: - - keep-alive - content-security-policy: - - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' - content-type: - - application/json - date: - - Mon, 18 Jul 2022 15:12:41 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 - set-cookie: - - INGRESSCOOKIE=1658157162.155.172.236125|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly - strict-transport-security: - - max-age=15724800; includeSubDomains - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-frame-options: - - deny - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T15:07:16.3608235Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T15:07:16.3608235Z"},"identity":{"principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' - headers: - cache-control: - - no-cache - content-length: - - '872' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:40 GMT - etag: - - '"1700b00f-0000-0d00-0000-62d578500000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview - response: - body: - string: 'null' - headers: - api-supported-versions: - - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 - azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:12:41 GMT - etag: - - '"17006210-0000-0d00-0000-62d5786a0000"' - expires: - - '-1' - location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - pragma: - - no-cache - request-context: - - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:13:12 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:13:42 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:14:11 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:14:41 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:15:11 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:15:42 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:16:12 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:16:42 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:17:12 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:17:42 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:18:12 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:18:42 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-18T15:12:41.7399633Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:19:12 GMT - etag: - - '"35005a54-0000-0d00-0000-62d5786d0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013?api-version=2021-09-01-preview - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","name":"86fc085f-0723-4acc-92f0-3cd8cd50aaac*003F6E95515F971007315726E03BEB767B09490C45808DD39F7E3E1EE5944013","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-18T15:12:41.7399633Z","endTime":"2022-07-18T15:19:21.5430867Z","error":{},"properties":null}' - headers: - cache-control: - - no-cache - content-length: - - '575' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:19:42 GMT - etag: - - '"35005055-0000-0d00-0000-62d579f90000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27b42e4412-5d1f-4a37-8182-2c9498ae3a54%27&api-version=2020-04-01-preview - response: - body: - string: '{"value":[{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:22.7583616Z","updatedOn":"2022-07-18T15:12:22.7583616Z","createdBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f","type":"Microsoft.Authorization/roleAssignments","name":"8ac028c5-077a-402f-b617-4d28e1adb89f"}]}' - headers: - cache-control: - - no-cache - content-length: - - '869' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:19:42 GMT - expires: - - '-1' - pragma: - - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana delete - Connection: - - keep-alive - Content-Length: - - '0' - Cookie: - - x-ms-gateway-slice=Production - ParameterSetName: - - -g -n --yes - User-Agent: - - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f?api-version=2020-04-01-preview - response: - body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"b42e4412-5d1f-4a37-8182-2c9498ae3a54","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-18T15:12:22.7583616Z","updatedOn":"2022-07-18T15:12:22.7583616Z","createdBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/8ac028c5-077a-402f-b617-4d28e1adb89f","type":"Microsoft.Authorization/roleAssignments","name":"8ac028c5-077a-402f-b617-4d28e1adb89f"}' - headers: - cache-control: - - no-cache - content-length: - - '857' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:19:44 GMT - expires: - - '-1' - pragma: - - no-cache - set-cookie: - - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - grafana list - Connection: - - keep-alive - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '879' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 18 Jul 2022 15:19:46 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-original-request-ids: - - d4901572-5ad3-4398-ab51-7e6ce04509e5 - - 256e4b25-741c-4b4b-b166-9300430d6846 - - 41a7e989-044f-4dd1-9963-f3a9b39a615f - - 23c18f6d-c17f-41f7-8e76-dcc9f4df1b71 - status: - code: 200 - message: OK -version: 1 diff --git a/src/amg/azext_amg/tests/latest/test_definitions.py b/src/amg/azext_amg/tests/latest/test_definitions.py index 11081d3410c..fd0e2c48407 100644 --- a/src/amg/azext_amg/tests/latest/test_definitions.py +++ b/src/amg/azext_amg/tests/latest/test_definitions.py @@ -1,3 +1,7 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- test_data_source = { "access": "proxy", From f4e0d929d6e627c4278bed7380c636abd18f72a7 Mon Sep 17 00:00:00 2001 From: michelletaal-shell <100429914+michelletaal-shell@users.noreply.github.com> Date: Tue, 19 Jul 2022 16:05:50 +0200 Subject: [PATCH 12/12] set tests to live and base commands --- .../latest/recordings/test_amg_base.yaml | 2527 +++++++++ .../tests/latest/recordings/test_amg_e2e.yaml | 4957 +++++++++++++++++ .../tests/latest/test_amg_livescenario.py | 167 + .../tests/latest/test_amg_scenario.py | 138 +- 4 files changed, 7656 insertions(+), 133 deletions(-) create mode 100644 src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml create mode 100644 src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml create mode 100644 src/amg/azext_amg/tests/latest/test_amg_livescenario.py diff --git a/src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml b/src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml new file mode 100644 index 00000000000..132b238e9f4 --- /dev/null +++ b/src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml @@ -0,0 +1,2527 @@ +interactions: +- request: + body: '{"sku": {"name": "Standard"}, "properties": {}, "identity": {"type": "SystemAssigned"}, + "tags": {"foo": "doo"}, "location": "westeurope"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + Content-Length: + - '137' + Content-Type: + - application/json + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T13:07:56.7126141Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T13:07:56.7126141Z"},"identity":{"principalId":"4d444b81-454f-4470-aa59-3b9a6c2602b2","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + api-supported-versions: + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + cache-control: + - no-cache + content-length: + - '868' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:07:58 GMT + etag: + - '"1b0008c7-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:08:28 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:08:58 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:09:28 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:09:58 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:10:28 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:10:58 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:11:28 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:11:59 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:12:28 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:12:58 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:13:28 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:13:58 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:14:47 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:15:18 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:15:48 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:16:18 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:16:48 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:17:18 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:17:48 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:18:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:18:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:19:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:19:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:20:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:20:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:21:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:21:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:22:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:22:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:23:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:23:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:24:20 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:24:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:25:19 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T13:07:57.3507365Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:25:49 GMT + etag: + - '"3f00ef32-0000-0d00-0000-62d6acad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"c8aea27a-fb87-4b65-b9cf-b4794b3d071c*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-19T13:07:57.3507365Z","endTime":"2022-07-19T13:26:00.2769755Z","error":{},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:19 GMT + etag: + - '"3f003035-0000-0d00-0000-62d6b0e80000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --skip-role-assignments + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T13:07:56.7126141Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T13:07:56.7126141Z"},"identity":{"principalId":"4d444b81-454f-4470-aa59-3b9a6c2602b2","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:19 GMT + etag: + - '"1b0065e6-0000-0d00-0000-62d6b0e80000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T13:07:56.7126141Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T13:07:56.7126141Z"},"identity":{"principalId":"4d444b81-454f-4470-aa59-3b9a6c2602b2","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '884' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 3a1c31f5-27f5-4df2-b191-08037c0e33ea + - 490b68bb-d622-4427-8af2-02d7ad8cab97 + - ef24c91b-8119-4e23-b72c-03bef95f6b33 + - af60d56a-f917-4106-9617-b2f2fd378cfc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T13:07:56.7126141Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T13:07:56.7126141Z"},"identity":{"principalId":"4d444b81-454f-4470-aa59-3b9a6c2602b2","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1752' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - dbd71c4f-9edb-408d-879c-87438b9100b3 + - fdfbcb4b-4f34-4ffb-a072-354859aa2d3a + - 5d068aef-55ef-48e8-a7d0-27ccea926802 + - 255f7df3-e321-427c-89ba-05d6e0c4c7e4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T13:07:56.7126141Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T13:07:56.7126141Z"},"identity":{"principalId":"4d444b81-454f-4470-aa59-3b9a6c2602b2","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:22 GMT + etag: + - '"1b0065e6-0000-0d00-0000-62d6b0e80000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T13:07:56.7126141Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T13:07:56.7126141Z"},"identity":{"principalId":"4d444b81-454f-4470-aa59-3b9a6c2602b2","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:24 GMT + etag: + - '"1b0065e6-0000-0d00-0000-62d6b0e80000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: 'null' + headers: + api-supported-versions: + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:25 GMT + etag: + - '"1b002fe7-0000-0d00-0000-62d6b1010000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:26:55 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:27:25 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:27:56 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:28:25 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:28:55 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:29:25 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:29:55 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:30:26 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T13:26:25.7298122Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:30:56 GMT + etag: + - '"3f004635-0000-0d00-0000-62d6b1090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","name":"9505bdba-c7f2-464c-aca9-5fad324c4128*7412A740E969FD3113235B7BAF34ED171117D834A6DC29FBF08FDA1120334DB2","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-19T13:26:25.7298122Z","endTime":"2022-07-19T13:31:06.3833089Z","error":{},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:31:26 GMT + etag: + - '"3f00d035-0000-0d00-0000-62d6b21a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%274d444b81-454f-4470-aa59-3b9a6c2602b2%27&api-version=2020-04-01-preview + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:31:26 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '879' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 13:31:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 67c1383d-565e-478e-8248-e961da7a6198 + - 7aa37b8d-1333-4a31-9dd0-bb890950c4f2 + - 677824bf-f3aa-4994-b070-d7e8f744e4ea + - c8351fbb-6d7b-4247-a089-9f464c063227 + status: + code: 200 + message: OK +version: 1 diff --git a/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml new file mode 100644 index 00000000000..3b25f19326e --- /dev/null +++ b/src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml @@ -0,0 +1,4957 @@ +interactions: +- request: + body: '{"sku": {"name": "Standard"}, "properties": {}, "identity": {"type": "SystemAssigned"}, + "tags": {"foo": "doo"}, "location": "westeurope"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + Content-Length: + - '137' + Content-Type: + - application/json + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + api-supported-versions: + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + cache-control: + - no-cache + content-length: + - '868' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:35:47 GMT + etag: + - '"1b00888f-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:36:17 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:36:47 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:37:17 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:37:47 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:38:17 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:38:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:39:17 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:39:47 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:40:17 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:40:47 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:41:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:41:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:42:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:42:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:43:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:43:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:44:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:44:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:45:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:45:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:46:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:46:49 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:47:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:47:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:48:18 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:48:48 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:49:19 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:49:49 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:50:19 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:50:49 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:51:19 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-07-19T12:35:47.5244283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '504' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:51:49 GMT + etag: + - '"3f00f22e-0000-0d00-0000-62d6a5230000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"7d072711-1f43-4196-8323-78201fdd45ce*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-19T12:35:47.5244283Z","endTime":"2022-07-19T12:52:12.5022404Z","error":{},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:19 GMT + etag: + - '"3f00dd30-0000-0d00-0000-62d6a8fc0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:19 GMT + etag: + - '"1b001daa-0000-0d00-0000-62d6a8fc0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-graphrbac/0.60.0 Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/users?$filter=userPrincipalName%20eq%20%27michelletaal%40hotmail.com%27%20or%20mail%20eq%20%27michelletaal%40hotmail.com%27&api-version=1.6 + response: + body: + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"ed86bea3-5154-4d06-839b-11ced3dc0557","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2022-03-04T13:39:33Z","creationType":null,"department":null,"dirSyncEnabled":null,"displayName":"michelletaal@hotmail.com","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Michelle","immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"michelletaal@hotmail.com","mailNickname":"michelletaal_hotmail.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["michelletaal@hotmail.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":"en","provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:michelletaal@hotmail.com"],"refreshTokensValidFromDateTime":"2022-03-04T13:39:33Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":"Taal","telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/ed86bea3-5154-4d06-839b-11ced3dc0557/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"NL","userIdentities":[],"userPrincipalName":"michelletaal_hotmail.com#EXT#@michelletaalhotmail.onmicrosoft.com","userState":null,"userStateChangedOn":null,"userType":"Member"}]}' + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1707' + content-type: + - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 + dataserviceversion: + - 3.0; + date: + - Tue, 19 Jul 2022 12:52:20 GMT + duration: + - '727151' + expires: + - '-1' + ocp-aad-diagnostics-server-name: + - wKWYwfcIoudL9/PbctyO4nmLtvMwkrOFVlx5XDA6nj8= + ocp-aad-session-key: + - bCM_DfHyKwak_NN18cn49ICKUEz7F8tS4TD--gXpdBoTHmwp24dJVk9v8mQz-hNgIRPLS1j57AWDEc8jZw3Tqxw81nX4hMqRItMNhLLR8Cn_406UfkBP4HXIe5HpzHIJ.docDDQhUP7ibTH0_L8ku1wkfE0xAXvLlaklL1hv-YOQ + pragma: + - no-cache + request-id: + - 3470a1e4-4b79-420f-b503-78d1fe248846 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-ms-dirapi-data-contract-version: + - '1.6' + x-ms-resource-unit: + - '2' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Grafana%20Admin%27&api-version=2018-01-01-preview + response: + body: + string: '{"value":[{"properties":{"roleName":"Grafana Admin","type":"BuiltInRole","description":"Built-in + Grafana admin role","assignableScopes":["/"],"permissions":[{"actions":[],"notActions":[],"dataActions":["Microsoft.Dashboard/grafana/ActAsGrafanaAdmin/action"],"notDataActions":[]}],"createdOn":"2021-07-15T21:32:35.3802340Z","updatedOn":"2021-11-11T20:15:14.8104670Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","type":"Microsoft.Authorization/roleDefinitions","name":"22926164-76b3-42b3-bc55-97df8dab3e41"}]}' + headers: + cache-control: + - no-cache + content-length: + - '644' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:21 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41", + "principalId": "ed86bea3-5154-4d06-839b-11ced3dc0557"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -l --tags + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/744de129-9c6d-49a6-b07f-b10ae3950718?api-version=2020-04-01-preview + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","principalId":"ed86bea3-5154-4d06-839b-11ced3dc0557","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","condition":null,"conditionVersion":null,"createdOn":"2022-07-19T12:52:22.3774071Z","updatedOn":"2022-07-19T12:52:22.6431073Z","createdBy":null,"updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/744de129-9c6d-49a6-b07f-b10ae3950718","type":"Microsoft.Authorization/roleAssignments","name":"744de129-9c6d-49a6-b07f-b10ae3950718"}' + headers: + cache-control: + - no-cache + content-length: + - '977' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:23 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Monitoring%20Reader%27&api-version=2018-01-01-preview + response: + body: + string: '{"value":[{"properties":{"roleName":"Monitoring Reader","type":"BuiltInRole","description":"Can + read all monitoring data.","assignableScopes":["/"],"permissions":[{"actions":["*/read","Microsoft.OperationalInsights/workspaces/search/action","Microsoft.Support/*"],"notActions":[],"dataActions":["Microsoft.Monitor/accounts/data/metrics/read"],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-07-07T00:23:17.8373589Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","type":"Microsoft.Authorization/roleDefinitions","name":"43d0d8ad-25c7-4714-9337-8ba259a9fe05"}]}' + headers: + cache-control: + - no-cache + content-length: + - '729' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:24 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05", + "principalId": "c20a5e0c-1843-4af9-986d-729f77fae43d"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana create + Connection: + - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -l --tags + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/0335db53-ccff-4091-abef-d1d8baf46a20?api-version=2020-04-01-preview + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-19T12:52:24.8702792Z","updatedOn":"2022-07-19T12:52:25.1672154Z","createdBy":null,"updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/0335db53-ccff-4091-abef-d1d8baf46a20","type":"Microsoft.Authorization/roleAssignments","name":"0335db53-ccff-4091-abef-d1d8baf46a20"}' + headers: + cache-control: + - no-cache + content-length: + - '823' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:25 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '884' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 10a1974e-740d-42a2-9c70-378fcb90e002 + - bb3b86cb-f355-462e-9a40-8be703ece20c + - c507d8d2-b31e-4759-8a64-128246df6f2b + - f316aeba-0eb8-4dbc-a4b5-937a670c59f9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1752' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - db750682-8df3-4929-9232-4b7dc163475f + - 1d8f6028-2704-4654-a58c-89706457d49b + - 20094c58-25a8-418b-828b-127624b8c697 + - 5b8feccf-604d-417c-9bb5-3437366c2700 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:28 GMT + etag: + - '"1b001daa-0000-0d00-0000-62d6a8fc0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana user list + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:29 GMT + etag: + - '"1b001daa-0000-0d00-0000-62d6a8fc0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/org/users + response: + body: + string: '[{"orgId":1,"userId":2,"email":"michelletaal@hotmail.com","name":"live.com#michelletaal@hotmail.com","avatarUrl":"/avatar/317555acbf6221af100468eb95e86ea0","login":"michelletaal@hotmail.com","role":"Admin","lastSeenAt":"2022-07-19T12:52:30Z","lastSeenAtAge":"\u003c + 1 minute"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '277' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:30 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235151.541.170.969948|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/user + response: + body: + string: '{"id":2,"email":"michelletaal@hotmail.com","name":"live.com#michelletaal@hotmail.com","login":"michelletaal@hotmail.com","theme":"","orgId":1,"isGrafanaAdmin":false,"isDisabled":false,"isExternal":true,"authLabels":["OAuth"],"updatedAt":"2022-07-19T12:52:30Z","createdAt":"2022-07-19T12:52:30Z","avatarUrl":"/avatar/317555acbf6221af100468eb95e86ea0"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '350' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235152.209.179.692202|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"title": "Test Folder"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '24' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '{"id":11,"uid":"aFi1RhR4z","title":"Test Folder","url":"/dashboards/f/aFi1RhR4z/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-19T12:52:31Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-19T12:52:31Z","version":1}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '327' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235152.702.176.20674|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/Test%20Folder + response: + body: + string: '{"accessErrorId":"ACE6426444106","message":"You''ll need additional + permissions to perform this action. Permissions needed: folders:read","title":"Access + denied"} + + ' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '162' + content-type: + - application/json; charset=UTF-8 + date: + - Tue, 19 Jul 2022 12:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235153.103.170.275575|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/Test%20Folder + response: + body: + string: '{"message":"folder not found","status":"not-found"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '51' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235153.247.172.748123|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"aFi1RhR4z","title":"Test + Folder"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '99' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235153.431.178.550532|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/aFi1RhR4z + response: + body: + string: '{"accessErrorId":"ACE5127566518","message":"You''ll need additional + permissions to perform this action. Permissions needed: folders:read","title":"Access + denied"} + + ' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '162' + content-type: + - application/json; charset=UTF-8 + date: + - Tue, 19 Jul 2022 12:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235153.767.170.269964|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/aFi1RhR4z + response: + body: + string: '{"id":11,"uid":"aFi1RhR4z","title":"Test Folder","url":"/dashboards/f/aFi1RhR4z/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-19T12:52:31Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-19T12:52:31Z","version":1}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '327' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235153.914.172.703160|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"title": "Test Folder Update", "version": 1}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '45' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: PUT + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/aFi1RhR4z + response: + body: + string: '{"id":11,"uid":"aFi1RhR4z","title":"Test Folder Update","url":"/dashboards/f/aFi1RhR4z/test-folder-update","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"michelletaal@hotmail.com","created":"2022-07-19T12:52:31Z","updatedBy":"michelletaal@hotmail.com","updated":"2022-07-19T12:52:33Z","version":2}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '341' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235154.297.170.682197|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"aFi1RhR4z","title":"Test + Folder Update"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '106' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235154.709.170.123139|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/id/Test%20Folder%20Update + response: + body: + string: '{"accessErrorId":"ACE0816040394","message":"You''ll need additional + permissions to perform this action. Permissions needed: folders:read","title":"Access + denied"} + + ' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '162' + content-type: + - application/json; charset=UTF-8 + date: + - Tue, 19 Jul 2022 12:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235155.048.170.708909|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/Test%20Folder%20Update + response: + body: + string: '{"message":"folder not found","status":"not-found"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '51' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235155.229.171.519312|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":11,"uid":"aFi1RhR4z","title":"Test + Folder Update"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '106' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235155.381.172.637285|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders/aFi1RhR4z + response: + body: + string: '{"id":11,"message":"Folder Test Folder Update deleted","title":"Test + Folder Update"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235155.527.170.381228|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/folders + response: + body: + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '49' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235155.937.171.85648|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"access": "proxy", "jsonData": {"azureAuthType": "msi", "subscriptionId": + ""}, "name": "Test Azure Monitor Data Source", "type": "grafana-azure-monitor-datasource"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '165' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources + response: + body: + string: '{"datasource":{"id":2,"uid":"3Xn1R2R4z","orgId":1,"name":"Test Azure + Monitor Data Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false},"id":2,"message":"Datasource + added","name":"Test Azure Monitor Data Source"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '461' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235156.292.171.667735|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source + response: + body: + string: '{"id":2,"uid":"3Xn1R2R4z","orgId":1,"name":"Test Azure Monitor Data + Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '370' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235156.7.177.4872|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source + response: + body: + string: '{"id":2,"uid":"3Xn1R2R4z","orgId":1,"name":"Test Azure Monitor Data + Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '370' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235157.045.172.433988|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"access": "proxy", "jsonData": {"azureAuthType": "msi", "subscriptionId": + ""}, "name": "Test Azure Monitor Data Source", "type": "grafana-azure-monitor-datasource"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '165' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: PUT + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/2 + response: + body: + string: '{"datasource":{"id":2,"uid":"3Xn1R2R4z","orgId":1,"name":"Test Azure + Monitor Data Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false},"id":2,"message":"Datasource + updated","name":"Test Azure Monitor Data Source"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '463' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235157.216.179.368167|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources + response: + body: + string: '[{"id":1,"uid":"azure-monitor-oob","orgId":1,"name":"Azure Monitor","type":"grafana-azure-monitor-datasource","typeName":"Azure + Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":"26552D79-E694-44BA-A54D-5A38C2940D48"},"readOnly":false},{"id":2,"uid":"3Xn1R2R4z","orgId":1,"name":"Test + Azure Monitor Data Source","type":"grafana-azure-monitor-datasource","typeName":"Azure + Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"readOnly":false}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '820' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235157.585.177.432989|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source + response: + body: + string: '{"id":2,"uid":"3Xn1R2R4z","orgId":1,"name":"Test Azure Monitor Data + Source","type":"grafana-azure-monitor-datasource","typeLogoUrl":"","access":"proxy","url":"","user":"","database":"","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":""},"secureJsonFields":{},"version":1,"readOnly":false}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '370' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235157.918.177.780423|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources/uid/3Xn1R2R4z + response: + body: + string: '{"id":2,"message":"Data source deleted"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '40' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235158.08.173.522435|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/datasources + response: + body: + string: '[{"id":1,"uid":"azure-monitor-oob","orgId":1,"name":"Azure Monitor","type":"grafana-azure-monitor-datasource","typeName":"Azure + Monitor","typeLogoUrl":"public/app/plugins/datasource/grafana-azure-monitor-datasource/img/logo.jpg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureAuthType":"msi","subscriptionId":"26552D79-E694-44BA-A54D-5A38C2940D48"},"readOnly":false}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '424' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235158.443.173.26080|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"name": "Test Teams Notification Channel", "settings": {"url": "https://test.webhook.office.com/IncomingWebhook/"}, + "type": "teams"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '133' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications + response: + body: + string: '{"id":1,"uid":"bvHJRhR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-19T12:52:37.813305102Z","updated":"2022-07-19T12:52:37.813306902Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '340' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235158.783.172.70475|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/bvHJRhR4z + response: + body: + string: '{"message":"notificationId is invalid","traceID":"64400f60e980d01137315178ff8bbb73"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235159.137.170.55449|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/bvHJRhR4z + response: + body: + string: '{"id":1,"uid":"bvHJRhR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-19T12:52:37Z","updated":"2022-07-19T12:52:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235159.286.172.776146|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/bvHJRhR4z + response: + body: + string: '{"message":"notificationId is invalid","traceID":"2749168fcb293de476604b66c9e2d4d4"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235159.628.177.326349|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/bvHJRhR4z + response: + body: + string: '{"id":1,"uid":"bvHJRhR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-19T12:52:37Z","updated":"2022-07-19T12:52:37Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235159.788.173.20014|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"name": "Test Teams Notification Channel", "settings": {"url": "https://test.webhook.office.com/IncomingWebhook/"}, + "type": "teams", "id": 1}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '142' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: PUT + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/1 + response: + body: + string: '{"id":1,"uid":"bvHJRhR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-19T12:52:37Z","updated":"2022-07-19T12:52:39Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235159.984.171.578622|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications + response: + body: + string: '[{"id":1,"uid":"bvHJRhR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-19T12:52:37Z","updated":"2022-07-19T12:52:39Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '322' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235160.352.179.698633|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/bvHJRhR4z + response: + body: + string: '{"message":"notificationId is invalid","traceID":"061a7ce614c741a53d4d4e7cfa31b9c2"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '84' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235160.7.170.359410|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/uid/bvHJRhR4z + response: + body: + string: '{"id":1,"uid":"bvHJRhR4z","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-07-19T12:52:37Z","updated":"2022-07-19T12:52:39Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '320' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235160.9.172.605978|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications/1 + response: + body: + string: '{"message":"Notification deleted"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '34' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235161.071.172.328401|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/alert-notifications + response: + body: + string: '[]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235161.454.172.611083|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"dashboard": {"title": "Test Dashboard"}, "overwrite": false}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '62' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/db + response: + body: + string: '{"id":12,"slug":"test-dashboard","status":"success","uid":"jvK1R2R4k","url":"/d/jvK1R2R4k/test-dashboard","version":1}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '118' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235161.848.170.464959|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/uid/jvK1R2R4k + response: + body: + string: '{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"test-dashboard","url":"/d/jvK1R2R4k/test-dashboard","expires":"0001-01-01T00:00:00Z","created":"2022-07-19T12:52:40Z","updated":"2022-07-19T12:52:40Z","updatedBy":"michelletaal@hotmail.com","createdBy":"michelletaal@hotmail.com","version":1,"hasAcl":false,"isFolder":false,"folderId":0,"folderUid":"","folderTitle":"General","folderUrl":"","provisioned":false,"provisionedExternalId":"","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}},"isPublic":false},"dashboard":{"id":12,"title":"Test + Dashboard","uid":"jvK1R2R4k","version":1}}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235162.258.178.743485|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"dashboard": {"title": "Test Dashboard", "uid": "jvK1R2R4k", "version": + 1}, "overwrite": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '95' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: POST + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/db + response: + body: + string: '{"id":12,"slug":"test-dashboard","status":"success","uid":"jvK1R2R4k","url":"/d/jvK1R2R4k/test-dashboard","version":2}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '118' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235162.681.170.647774|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/search?type=dash-db + response: + body: + string: '[{"id":5,"uid":"dyzn5SK7z","title":"Azure / Alert Consumption","uri":"db/azure-alert-consumption","url":"/d/dyzn5SK7z/azure-alert-consumption","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"uid":"Yo38mcvnz","title":"Azure + / Insights / Applications","uri":"db/azure-insights-applications","url":"/d/Yo38mcvnz/azure-insights-applications","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"uid":"INH9berMk","title":"Azure + / Insights / Cosmos DB","uri":"db/azure-insights-cosmos-db","url":"/d/INH9berMk/azure-insights-cosmos-db","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"8UDB1s3Gk","title":"Azure + / Insights / Data Explorer Clusters","uri":"db/azure-insights-data-explorer-clusters","url":"/d/8UDB1s3Gk/azure-insights-data-explorer-clusters","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"uid":"tQZAMYrMk","title":"Azure + / Insights / Key Vaults","uri":"db/azure-insights-key-vaults","url":"/d/tQZAMYrMk/azure-insights-key-vaults","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"uid":"3n2E8CrGk","title":"Azure + / Insights / Storage Accounts","uri":"db/azure-insights-storage-accounts","url":"/d/3n2E8CrGk/azure-insights-storage-accounts","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":6,"uid":"AzVmInsightsByRG","title":"Azure + / Insights / Virtual Machines by Resource Group","uri":"db/azure-insights-virtual-machines-by-resource-group","url":"/d/AzVmInsightsByRG/azure-insights-virtual-machines-by-resource-group","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"AzVmInsightsByWS","title":"Azure + / Insights / Virtual Machines by Workspace","uri":"db/azure-insights-virtual-machines-by-workspace","url":"/d/AzVmInsightsByWS/azure-insights-virtual-machines-by-workspace","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"uid":"Mtwt2BV7k","title":"Azure + / Resources Overview","uri":"db/azure-resources-overview","url":"/d/Mtwt2BV7k/azure-resources-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":12,"uid":"jvK1R2R4k","title":"Test + Dashboard","uri":"db/test-dashboard","url":"/d/jvK1R2R4k/test-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"sortMeta":0}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235163.046.170.308301|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: DELETE + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/dashboards/uid/jvK1R2R4k + response: + body: + string: '{"id":12,"message":"Dashboard Test Dashboard deleted","title":"Test + Dashboard"}' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '79' + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235163.42.177.268539|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + content-type: + - application/json + method: GET + uri: https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com/api/search?type=dash-db + response: + body: + string: '[{"id":5,"uid":"dyzn5SK7z","title":"Azure / Alert Consumption","uri":"db/azure-alert-consumption","url":"/d/dyzn5SK7z/azure-alert-consumption","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"uid":"Yo38mcvnz","title":"Azure + / Insights / Applications","uri":"db/azure-insights-applications","url":"/d/Yo38mcvnz/azure-insights-applications","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"uid":"INH9berMk","title":"Azure + / Insights / Cosmos DB","uri":"db/azure-insights-cosmos-db","url":"/d/INH9berMk/azure-insights-cosmos-db","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"8UDB1s3Gk","title":"Azure + / Insights / Data Explorer Clusters","uri":"db/azure-insights-data-explorer-clusters","url":"/d/8UDB1s3Gk/azure-insights-data-explorer-clusters","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"uid":"tQZAMYrMk","title":"Azure + / Insights / Key Vaults","uri":"db/azure-insights-key-vaults","url":"/d/tQZAMYrMk/azure-insights-key-vaults","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"uid":"3n2E8CrGk","title":"Azure + / Insights / Storage Accounts","uri":"db/azure-insights-storage-accounts","url":"/d/3n2E8CrGk/azure-insights-storage-accounts","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":6,"uid":"AzVmInsightsByRG","title":"Azure + / Insights / Virtual Machines by Resource Group","uri":"db/azure-insights-virtual-machines-by-resource-group","url":"/d/AzVmInsightsByRG/azure-insights-virtual-machines-by-resource-group","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"AzVmInsightsByWS","title":"Azure + / Insights / Virtual Machines by Workspace","uri":"db/azure-insights-virtual-machines-by-workspace","url":"/d/AzVmInsightsByWS/azure-insights-virtual-machines-by-workspace","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"uid":"Mtwt2BV7k","title":"Azure + / Resources Overview","uri":"db/azure-resources-overview","url":"/d/Mtwt2BV7k/azure-resources-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":1,"folderUid":"az-mon","folderTitle":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0}]' + headers: + cache-control: + - no-cache + connection: + - keep-alive + content-security-policy: + - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' + content-type: + - application/json + date: + - Tue, 19 Jul 2022 12:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 + set-cookie: + - INGRESSCOOKIE=1658235163.802.173.929746|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly + strict-transport-security: + - max-age=15724800; includeSubDomains + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-frame-options: + - deny + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","name":"clitestamg","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{"foo":"doo"},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-19T12:35:47.0398186Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-19T12:35:47.0398186Z"},"identity":{"principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://clitestamg-ftcwecbbe7hyhrhk.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}' + headers: + cache-control: + - no-cache + content-length: + - '872' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:46 GMT + etag: + - '"1b001daa-0000-0d00-0000-62d6a8fc0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2021-09-01-preview + response: + body: + string: 'null' + headers: + api-supported-versions: + - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01 + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:52:46 GMT + etag: + - '"1b00f3aa-0000-0d00-0000-62d6a91e0000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:54fcb76e-7bac-4b3e-96f8-8868676d3826 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:53:16 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:53:46 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:54:16 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:54:46 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:55:18 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:55:47 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:56:17 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:56:48 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:57:18 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:57:48 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:58:18 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-07-19T12:52:46.5012498Z","error":{}}' + headers: + cache-control: + - no-cache + content-length: + - '515' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:58:48 GMT + etag: + - '"3f00ee30-0000-0d00-0000-62d6a9220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA?api-version=2021-09-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","name":"1f4aa73e-2d04-4689-a370-1f157ed0ec0e*221E2AACC353877A6BE2C3D375FE51BABC8A8DC3792536145A6C16507B526AEA","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-07-19T12:52:46.5012498Z","endTime":"2022-07-19T12:59:09.0890676Z","error":{},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:59:18 GMT + etag: + - '"3f00a031-0000-0d00-0000-62d6aa9d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27c20a5e0c-1843-4af9-986d-729f77fae43d%27&api-version=2020-04-01-preview + response: + body: + string: '{"value":[{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-19T12:52:25.7296970Z","updatedOn":"2022-07-19T12:52:25.7296970Z","createdBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/0335db53-ccff-4091-abef-d1d8baf46a20","type":"Microsoft.Authorization/roleAssignments","name":"0335db53-ccff-4091-abef-d1d8baf46a20"}]}' + headers: + cache-control: + - no-cache + content-length: + - '869' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:59:19 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana delete + Connection: + - keep-alive + Content-Length: + - '0' + Cookie: + - x-ms-gateway-slice=Production + ParameterSetName: + - -g -n --yes + User-Agent: + - python/3.9.13 (Windows-10-10.0.19044-SP0) msrest/0.7.1 msrest_azure/0.6.4 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/0335db53-ccff-4091-abef-d1d8baf46a20?api-version=2020-04-01-preview + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"c20a5e0c-1843-4af9-986d-729f77fae43d","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-07-19T12:52:25.7296970Z","updatedOn":"2022-07-19T12:52:25.7296970Z","createdBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","updatedBy":"ed86bea3-5154-4d06-839b-11ced3dc0557","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/0335db53-ccff-4091-abef-d1d8baf46a20","type":"Microsoft.Authorization/roleAssignments","name":"0335db53-ccff-4091-abef-d1d8baf46a20"}' + headers: + cache-control: + - no-cache + content-length: + - '857' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:59:21 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - grafana list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.9.13 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2021-09-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amg-test/providers/Microsoft.Dashboard/grafana/amg-test-grafana","name":"amg-test-grafana","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westeurope","tags":{},"systemData":{"createdBy":"michelletaal@hotmail.com","createdByType":"User","createdAt":"2022-07-18T14:17:58.934605Z","lastModifiedBy":"michelletaal@hotmail.com","lastModifiedByType":"User","lastModifiedAt":"2022-07-18T14:17:58.934605Z"},"identity":{"principalId":"0433a85e-994f-487e-8726-10d0c079c1fa","tenantId":"2de11026-d33d-44dd-95de-6261863da22e","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.0.1","endpoint":"https://amg-test-grafana-d2bbecdjddctg4hq.weu.grafana.azure.com","zoneRedundancy":"Disabled","autoGeneratedDomainNameLabelScope":"TenantReuse"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '879' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 19 Jul 2022 12:59:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 6f8b7ae1-c78b-4b2b-b33f-257c4ed4edb5 + - 8d368e4e-4d7a-4d9f-b796-66383388a2d1 + - fcc3c6fa-ecfa-4fbc-b05f-05bbd1429e3d + - d73ea77f-898c-4db1-930d-432375c2102b + status: + code: 200 + message: OK +version: 1 diff --git a/src/amg/azext_amg/tests/latest/test_amg_livescenario.py b/src/amg/azext_amg/tests/latest/test_amg_livescenario.py new file mode 100644 index 00000000000..13e44af95e1 --- /dev/null +++ b/src/amg/azext_amg/tests/latest/test_amg_livescenario.py @@ -0,0 +1,167 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest + +from azure.cli.testsdk import (ResourceGroupPreparer, LiveScenarioTest) +from azure.cli.testsdk .scenario_tests import AllowLargeResponse +from .test_definitions import (test_data_source, test_notification_channel, test_dashboard) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class AmgLiveScenarioTest(LiveScenarioTest): + + @AllowLargeResponse(size_kb=3072) + @ResourceGroupPreparer(name_prefix='cli_test_amg', location='westeurope') + def test_amg_e2e(self, resource_group): + + # Test Instance + self.kwargs.update({ + 'name': 'clitestamg', + 'location': 'westeurope' + }) + + self.cmd('grafana create -g {rg} -n {name} -l {location} --tags foo=doo', checks=[ + self.check('tags.foo', 'doo'), + self.check('name', '{name}') + ]) + + self.cmd('grafana list -g {rg}') + count = len(self.cmd('grafana list').get_output_in_json()) + + self.cmd('grafana show -g {rg} -n {name}', checks=[ + self.check('name', '{name}'), + self.check('resourceGroup', '{rg}'), + self.check('tags.foo', 'doo') + ]) + + # Test User + response_list = self.cmd('grafana user list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + response_actual_user = self.cmd('grafana user actual-user -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_actual_user) > 0) + + # Test Folder + self.kwargs.update({ + 'title': 'Test Folder', + 'update_title': 'Test Folder Update' + }) + + response_create = self.cmd('grafana folder create -g {rg} -n {name} --title "{title}"', checks=[ + self.check("[title]", "['{title}']")]).get_output_in_json() + + self.kwargs.update({ + 'folder_uid': response_create["uid"] + }) + + self.cmd('grafana folder show -g {rg} -n {name} --folder "{title}"', checks=[ + self.check("[title]", "['{title}']")]) + + self.cmd('grafana folder update -g {rg} -n {name} --folder "{folder_uid}" --title "{update_title}"', checks=[ + self.check("[title]", "['{update_title}']")]) + + response_list = self.cmd('grafana folder list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana folder delete -g {rg} -n {name} --folder "{update_title}"') + response_delete = self.cmd('grafana folder list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + + # Test Data Source + self.kwargs.update({ + 'definition': test_data_source, + 'definition_name': test_data_source["name"] + }) + + self.cmd('grafana data-source create -g {rg} -n {name} --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + self.cmd('grafana data-source show -g {rg} -n {name} --data-source "{definition_name}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + self.cmd('grafana data-source update -g {rg} -n {name} --data-source "{definition_name}" --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + response_list = self.cmd('grafana data-source list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana data-source delete -g {rg} -n {name} --data-source "{definition_name}"') + response_delete = self.cmd('grafana data-source list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + + # Test Notification Channel + self.kwargs.update({ + 'definition': test_notification_channel, + 'definition_name': test_notification_channel["name"] + }) + + response_create = self.cmd('grafana notification-channel create -g {rg} -n {name} --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]).get_output_in_json() + + self.kwargs.update({ + 'notification_channel_uid': response_create["uid"] + }) + + self.cmd('grafana notification-channel show -g {rg} -n {name} --notification-channel "{notification_channel_uid}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + self.cmd('grafana notification-channel update -g {rg} -n {name} --notification-channel "{notification_channel_uid}" --definition "{definition}"', checks=[ + self.check("[name]", "['{definition_name}']")]) + + response_list = self.cmd('grafana notification-channel list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana notification-channel delete -g {rg} -n {name} --notification-channel "{notification_channel_uid}"') + response_delete = self.cmd('grafana notification-channel list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + + # Test Dashboard + definition_name = test_dashboard["dashboard"]["title"] + slug = definition_name.lower().replace(' ', '-') + + self.kwargs.update({ + 'definition': test_dashboard, + 'definition_name': definition_name, + 'definition_slug': slug, + }) + + response_create = self.cmd('grafana dashboard create -g {rg} -n {name} --definition "{definition}" --title "{definition_name}"', checks=[ + self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() + + test_definition_update = test_dashboard + test_definition_update["dashboard"]["uid"] = response_create["uid"] + test_definition_update["dashboard"]["id"] = response_create["id"] + test_definition_update["dashboard"]["version"] = response_create["version"] + + self.kwargs.update({ + 'dashboard_uid': response_create["uid"], + 'test_definition_update': test_definition_update + }) + + self.cmd('grafana dashboard show -g {rg} -n {name} --dashboard "{dashboard_uid}"', checks=[ + self.check("[dashboard.title]", "['{definition_name}']")]) + + response_update = self.cmd('grafana dashboard update -g {rg} -n {name} --definition "{test_definition_update}" --overwrite true', checks=[ + self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() + self.assertTrue(response_update["version"] == response_create["version"] + 1) + + response_list = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_list) > 0) + + self.cmd('grafana dashboard delete -g {rg} -n {name} --dashboard "{dashboard_uid}"') + response_delete = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() + self.assertTrue(len(response_delete) == len(response_list) - 1) + + # Close-out Instance + self.cmd('grafana delete -g {rg} -n {name} --yes') + final_count = len(self.cmd('grafana list').get_output_in_json()) + self.assertTrue(final_count, count - 1) diff --git a/src/amg/azext_amg/tests/latest/test_amg_scenario.py b/src/amg/azext_amg/tests/latest/test_amg_scenario.py index 2f099a7d8c5..9cef8158370 100644 --- a/src/amg/azext_amg/tests/latest/test_amg_scenario.py +++ b/src/amg/azext_amg/tests/latest/test_amg_scenario.py @@ -7,161 +7,33 @@ import unittest from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) -from azure.cli.testsdk .scenario_tests import AllowLargeResponse -from .test_definitions import (test_data_source, test_notification_channel, test_dashboard) TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) -class AgsScenarioTest(ScenarioTest): +class AmgScenarioTest(ScenarioTest): - @AllowLargeResponse(size_kb=3072) - @ResourceGroupPreparer(name_prefix='cli_test_amg', location='westeurope') - def test_amg_e2e(self, resource_group): + @ResourceGroupPreparer(name_prefix='cli_test_amg') + def test_amg_base(self, resource_group): - # Test Instance self.kwargs.update({ 'name': 'clitestamg', 'location': 'westeurope' }) - self.cmd('grafana create -g {rg} -n {name} -l {location} --tags foo=doo', checks=[ + self.cmd('grafana create -g {rg} -n {name} -l {location} --tags foo=doo --skip-role-assignments', checks=[ self.check('tags.foo', 'doo'), self.check('name', '{name}') ]) - self.cmd('grafana list -g {rg}') count = len(self.cmd('grafana list').get_output_in_json()) - self.cmd('grafana show -g {rg} -n {name}', checks=[ self.check('name', '{name}'), self.check('resourceGroup', '{rg}'), self.check('tags.foo', 'doo') ]) - # Test User - response_list = self.cmd('grafana user list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_list) > 0) - - response_actual_user = self.cmd('grafana user actual-user -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_actual_user) > 0) - - # Test Folder - self.kwargs.update({ - 'title': 'Test Folder', - 'update_title': 'Test Folder Update' - }) - - response_create = self.cmd('grafana folder create -g {rg} -n {name} --title "{title}"', checks=[ - self.check("[title]", "['{title}']")]).get_output_in_json() - - self.kwargs.update({ - 'folder_uid': response_create["uid"] - }) - - self.cmd('grafana folder show -g {rg} -n {name} --folder "{title}"', checks=[ - self.check("[title]", "['{title}']")]) - - self.cmd('grafana folder update -g {rg} -n {name} --folder "{folder_uid}" --title "{update_title}"', checks=[ - self.check("[title]", "['{update_title}']")]) - - response_list = self.cmd('grafana folder list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_list) > 0) - - self.cmd('grafana folder delete -g {rg} -n {name} --folder "{update_title}"') - response_delete = self.cmd('grafana folder list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_delete) == len(response_list) - 1) - - - # Test Data Source - self.kwargs.update({ - 'definition': test_data_source, - 'definition_name': test_data_source["name"] - }) - - self.cmd('grafana data-source create -g {rg} -n {name} --definition "{definition}"', checks=[ - self.check("[name]", "['{definition_name}']")]) - - self.cmd('grafana data-source show -g {rg} -n {name} --data-source "{definition_name}"', checks=[ - self.check("[name]", "['{definition_name}']")]) - - self.cmd('grafana data-source update -g {rg} -n {name} --data-source "{definition_name}" --definition "{definition}"', checks=[ - self.check("[name]", "['{definition_name}']")]) - - response_list = self.cmd('grafana data-source list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_list) > 0) - - self.cmd('grafana data-source delete -g {rg} -n {name} --data-source "{definition_name}"') - response_delete = self.cmd('grafana data-source list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_delete) == len(response_list) - 1) - - - # Test Notification Channel - self.kwargs.update({ - 'definition': test_notification_channel, - 'definition_name': test_notification_channel["name"] - }) - - response_create = self.cmd('grafana notification-channel create -g {rg} -n {name} --definition "{definition}"', checks=[ - self.check("[name]", "['{definition_name}']")]).get_output_in_json() - - self.kwargs.update({ - 'notification_channel_uid': response_create["uid"] - }) - - self.cmd('grafana notification-channel show -g {rg} -n {name} --notification-channel "{notification_channel_uid}"', checks=[ - self.check("[name]", "['{definition_name}']")]) - - self.cmd('grafana notification-channel update -g {rg} -n {name} --notification-channel "{notification_channel_uid}" --definition "{definition}"', checks=[ - self.check("[name]", "['{definition_name}']")]) - - response_list = self.cmd('grafana notification-channel list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_list) > 0) - - self.cmd('grafana notification-channel delete -g {rg} -n {name} --notification-channel "{notification_channel_uid}"') - response_delete = self.cmd('grafana notification-channel list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_delete) == len(response_list) - 1) - - - # Test Dashboard - definition_name = test_dashboard["dashboard"]["title"] - slug = definition_name.lower().replace(' ', '-') - - self.kwargs.update({ - 'definition': test_dashboard, - 'definition_name': definition_name, - 'definition_slug': slug, - }) - - response_create = self.cmd('grafana dashboard create -g {rg} -n {name} --definition "{definition}" --title "{definition_name}"', checks=[ - self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() - - test_definition_update = test_dashboard - test_definition_update["dashboard"]["uid"] = response_create["uid"] - test_definition_update["dashboard"]["id"] = response_create["id"] - test_definition_update["dashboard"]["version"] = response_create["version"] - - self.kwargs.update({ - 'dashboard_uid': response_create["uid"], - 'test_definition_update': test_definition_update - }) - - self.cmd('grafana dashboard show -g {rg} -n {name} --dashboard "{dashboard_uid}"', checks=[ - self.check("[dashboard.title]", "['{definition_name}']")]) - - response_update = self.cmd('grafana dashboard update -g {rg} -n {name} --definition "{test_definition_update}" --overwrite true', checks=[ - self.check("[slug]", "['{definition_slug}']")]).get_output_in_json() - self.assertTrue(response_update["version"] == response_create["version"] + 1) - - response_list = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_list) > 0) - - self.cmd('grafana dashboard delete -g {rg} -n {name} --dashboard "{dashboard_uid}"') - response_delete = self.cmd('grafana dashboard list -g {rg} -n {name}').get_output_in_json() - self.assertTrue(len(response_delete) == len(response_list) - 1) - - # Close-out Instance self.cmd('grafana delete -g {rg} -n {name} --yes') final_count = len(self.cmd('grafana list').get_output_in_json()) - self.assertTrue(final_count, count - 1) + self.assertTrue(final_count, count - 1) \ No newline at end of file