diff --git a/src/amg/HISTORY.rst b/src/amg/HISTORY.rst index 8c34bccfff8..9c37ba87a1a 100644 --- a/src/amg/HISTORY.rst +++ b/src/amg/HISTORY.rst @@ -5,4 +5,8 @@ Release History 0.1.0 ++++++ -* Initial release. \ No newline at end of file +* Initial release. + +0.1.1 +++++++ +* update 'az grafana delete' to automatically remove the default role assignment created for the managed identity diff --git a/src/amg/azext_amg/_params.py b/src/amg/azext_amg/_params.py index dcb984ffe13..d31cf84387d 100644 --- a/src/amg/azext_amg/_params.py +++ b/src/amg/azext_amg/_params.py @@ -8,10 +8,10 @@ def load_arguments(self, _): from knack.arguments import CLIArgumentType - from azure.cli.core.commands.parameters import tags_type, get_three_state_flag + 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 ._validators import process_missing_resource_group_parameter - + from azext_amg.vendored_sdks.models import ZoneRedundancy grafana_name_type = CLIArgumentType(options_list="--grafana-name", help="Name of the Azure Managed Dashboard for Grafana.", id_part="name") @@ -26,6 +26,7 @@ def load_arguments(self, _): with self.argument_context("grafana create") as c: c.argument("grafana_name", grafana_name_type, options_list=["--name", "-n"], validator=None) + c.argument("zone_redundancy", arg_type=get_enum_type(ZoneRedundancy), help="Indicates whether or not zone redundancy should be enabled. Default: Disabled") c.argument("skip_system_assigned_identity", options_list=["-s", "--skip-system-assigned-identity"], arg_type=get_three_state_flag(), help="Do not enable system assigned identity") c.argument("skip_role_assignments", arg_type=get_three_state_flag(), help="Do not create role assignments for managed identity and the current login user") diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index 63a90f6b552..db77bbf909b 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -10,6 +10,7 @@ from knack.log import get_logger +from azure.cli.core.commands import LongRunningOperation from azure.cli.core.commands.client_factory import get_mgmt_service_client, get_subscription_id from azure.cli.core.profiles import ResourceType, get_sdk from azure.cli.core.util import should_disable_connection_verify @@ -24,10 +25,11 @@ def create_grafana(cmd, resource_group_name, grafana_name, - location=None, skip_system_assigned_identity=False, skip_role_assignments=False, tags=None): + location=None, skip_system_assigned_identity=False, skip_role_assignments=False, + tags=None, zone_redundancy=None): from azure.cli.core.commands.arm import resolve_role_id - from azure.cli.core.commands import LongRunningOperation - client = get_mgmt_service_client(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES) + + client = cf_amg(cmd.cli_ctx) resource = { "sku": { "name": "standard" @@ -36,8 +38,12 @@ def create_grafana(cmd, resource_group_name, grafana_name, "identity": None if skip_system_assigned_identity else {"type": "SystemAssigned"}, "tags": tags } - poller = client.resources.begin_create_or_update(resource_group_name, "Microsoft.Dashboard", "", - "grafana", grafana_name, "2021-09-01-preview", resource) + resource["properties"] = { + "zoneRedundancy": zone_redundancy + } + + poller = client.grafana.begin_create(resource_group_name, grafana_name, resource) + LongRunningOperation(cmd.cli_ctx)(poller) if skip_role_assignments: return poller @@ -108,6 +114,14 @@ def _create_role_assignment(cli_ctx, principal_id, role_definition_id, scope): raise +def _delete_role_assignment(cli_ctx, principal_id): + assignments_client = get_mgmt_service_client(cli_ctx, ResourceType.MGMT_AUTHORIZATION).role_assignments + f = f"principalId eq '{principal_id}'" + assignments = list(assignments_client.list(filter=f)) + for a in assignments or []: + assignments_client.delete_by_id(a.id) + + def list_grafana(cmd, resource_group_name=None): client = cf_amg(cmd.cli_ctx) if resource_group_name: @@ -121,9 +135,17 @@ def show_grafana(cmd, grafana_name, resource_group_name=None): def delete_grafana(cmd, grafana_name, resource_group_name=None): - client = get_mgmt_service_client(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES) - return client.resources.begin_delete(resource_group_name, "Microsoft.Dashboard", - "", "grafana", grafana_name, "2021-09-01-preview") + client = cf_amg(cmd.cli_ctx) + grafana = client.grafana.get(resource_group_name, grafana_name) + + # delete first + poller = client.grafana.begin_delete(resource_group_name, grafana_name) + LongRunningOperation(cmd.cli_ctx)(poller) + + # delete role assignment + logger.warning("Grafana instance of '%s' was delete. Now removing role assignments for associated with its " + "managed identity", grafana_name) + _delete_role_assignment(cmd.cli_ctx, grafana.identity.principal_id) def show_dashboard(cmd, grafana_name, uid, resource_group_name=None): 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 0c2582e8ac6..7ef07a14794 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 @@ -1,7 +1,7 @@ interactions: - request: - body: '{"location": "westeurope", "tags": {"foo": "doo"}, "sku": {"name": "standard"}, - "identity": {"type": "SystemAssigned"}}' + body: '{"sku": {"name": "standard"}, "properties": {}, "identity": {"type": "SystemAssigned"}, + "tags": {"foo": "doo"}, "location": "westeurope"}' headers: Accept: - application/json @@ -12,38 +12,37 @@ interactions: Connection: - keep-alive Content-Length: - - '119' + - '137' Content-Type: - application/json ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - AZURECLI/2.33.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22000-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 + 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-03-06T19:05:53.5783015Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T19:05:53.5783015Z"},"identity":{"principalId":"1112f52a-4439-44af-9ec2-7989874c0498","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg.weu.azgrafana.io","zoneRedundancy":"Disabled"}}' + 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"}}' headers: api-supported-versions: - 2021-09-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview cache-control: - no-cache content-length: - - '790' + - '862' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:05:56 GMT + - Wed, 11 May 2022 17:21:54 GMT etag: - - '"8f00739e-0000-0d00-0000-622506140000"' + - '"bd02c707-0000-0d00-0000-627bf0b20000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview pragma: - no-cache request-context: @@ -73,13 +72,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -88,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:06:26 GMT + - Wed, 11 May 2022 17:22:24 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -120,13 +118,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -135,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:06:57 GMT + - Wed, 11 May 2022 17:22:54 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -167,13 +164,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -182,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:07:27 GMT + - Wed, 11 May 2022 17:23:25 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -214,13 +210,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -229,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:07:57 GMT + - Wed, 11 May 2022 17:23:55 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -261,13 +256,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -276,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:08:27 GMT + - Wed, 11 May 2022 17:24:25 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -308,13 +302,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -323,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:08:57 GMT + - Wed, 11 May 2022 17:24:55 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -355,13 +348,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -370,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:09:29 GMT + - Wed, 11 May 2022 17:25:26 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -402,13 +394,12 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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"}' headers: cache-control: - no-cache @@ -417,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:09:59 GMT + - Wed, 11 May 2022 17:25:56 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"7700b10c-0000-0d00-0000-627bf0b10000"' expires: - '-1' pragma: @@ -449,24 +440,23 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/b1c61af1-7cd3-4ac5-a1ee-d4ce4071bf4c*4409B6805C608D75E2644D0CA5D638D6906C2A16AE7490BBBDBCEBC304A20F66?api-version=2021-09-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-03-06T19:05:56.1407573Z"}' + 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}' headers: cache-control: - no-cache content-length: - - '504' + - '574' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:10:29 GMT + - Wed, 11 May 2022 17:26:26 GMT etag: - - '"82005e6a-0000-0d00-0000-622506140000"' + - '"77001a19-0000-0d00-0000-627bf1bd0000"' expires: - '-1' pragma: @@ -496,24 +486,23 @@ interactions: ParameterSetName: - -g -n -l --tags --skip-role-assignments User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?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/348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"348cd2bc-114b-49f5-bf1d-9acb1eb76476*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-03-06T19:05:56.1407573Z","endTime":"2022-03-06T19:10:38.0793744Z","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":"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"}}' headers: cache-control: - no-cache content-length: - - '575' + - '866' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:10:59 GMT + - Wed, 11 May 2022 17:26:27 GMT etag: - - '"8200a96d-0000-0d00-0000-6225072e0000"' + - '"bd021417-0000-0d00-0000-627bf1bd0000"' expires: - '-1' pragma: @@ -526,6 +515,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: code: 200 message: OK @@ -533,48 +524,48 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - grafana create + - grafana list Connection: - keep-alive ParameterSetName: - - -g -n -l --tags --skip-role-assignments + - -g User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/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/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?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-03-06T19:05:53.5783015Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T19:05:53.5783015Z"},"identity":{"principalId":"1112f52a-4439-44af-9ec2-7989874c0498","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://clitestamg.weu.azgrafana.io","zoneRedundancy":"Disabled"}}' + 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"}}]}' headers: cache-control: - no-cache content-length: - - '794' + - '878' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:11:00 GMT - etag: - - '"8f0051a2-0000-0d00-0000-6225072e0000"' + - Wed, 11 May 2022 17:26:29 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' + 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 @@ -589,24 +580,22 @@ interactions: - grafana list Connection: - keep-alive - ParameterSetName: - - -g 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/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.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":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-03-06T19:05:53.5783015Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T19:05:53.5783015Z"},"identity":{"principalId":"1112f52a-4439-44af-9ec2-7989874c0498","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://clitestamg.weu.azgrafana.io","zoneRedundancy":"Disabled"}}]}' + 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"}}]}' headers: cache-control: - no-cache content-length: - - '806' + - '2580' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:11:02 GMT + - Wed, 11 May 2022 17:26:29 GMT expires: - '-1' pragma: @@ -618,11 +607,12 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - f0d5c86c-28c9-418b-9387-e33f57984498 - - faf967bf-a804-400b-ab2e-c7173d24aa0a - - a7937dc1-2511-4272-bbc1-9e71e65da2e5 - - 17bb15fe-d548-4ea0-9b99-866bf8f2d3b0 - - 42e53806-1812-4704-8089-6cd88018f139 + - 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 @@ -634,41 +624,43 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana list + - grafana show Connection: - keep-alive + ParameterSetName: + - -g -n 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/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?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: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yugangw/providers/Microsoft.Dashboard/grafana/yugangweus2e","name":"yugangweus2e","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus2euap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-03-04T03:45:10.1825533Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-04T03:45:10.1825533Z"},"identity":{"principalId":"f462ffcd-951a-4521-82b0-0cff25c5c18a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://yugangweus2e.eus2e.azgrafana.io","zoneRedundancy":"Disabled"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yugangw/providers/Microsoft.Dashboard/grafana/yugangwcus3","name":"yugangwcus3","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"centraluseuap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-02-26T04:13:32.6306926Z","lastModifiedBy":"ce34e7e5-485f-4d76-964f-b3d2b16d1e4f","lastModifiedByType":"Application","lastModifiedAt":"2022-02-26T04:17:52.2265322Z"},"identity":{"principalId":"a2bd0803-4837-42e5-a1b8-d63bfa4f6a90","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://yugangwcus3.cuse.azgrafana.io","zoneRedundancy":"Disabled"}},{"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-03-06T19:05:53.5783015Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T19:05:53.5783015Z"},"identity":{"principalId":"1112f52a-4439-44af-9ec2-7989874c0498","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://clitestamg.weu.azgrafana.io","zoneRedundancy":"Disabled"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yugangw/providers/Microsoft.Dashboard/grafana/yugangweus","name":"yugangweus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus","tags":{"doo":"foo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-03-06T18:29:10.4356225Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T18:29:10.4356225Z"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://yugangweus.eus.azgrafana.io","zoneRedundancy":"Disabled"}}]}' + 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"}}' headers: cache-control: - no-cache content-length: - - '3030' + - '866' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:11:03 GMT + - Wed, 11 May 2022 17:26:30 GMT + etag: + - '"bd021417-0000-0d00-0000-627bf1bd0000"' 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: - - f0472afa-d6bf-41be-891b-9bb0a7b50d13 - - 6040023f-5cdd-4c49-8bd6-ee2dcc37c1d1 - - 4ff9f9e4-803e-4e44-85b7-3b2aef5c0813 - - cc127ace-79ee-4663-ab05-63ddd2bebd63 - - 6707790a-1247-41f9-b964-abfc71a91c10 + x-ms-providerhub-traffic: + - 'True' status: code: 200 message: OK @@ -680,29 +672,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - grafana show + - grafana delete Connection: - keep-alive ParameterSetName: - - -g -n + - -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/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-03-06T19:05:53.5783015Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T19:05:53.5783015Z"},"identity":{"principalId":"1112f52a-4439-44af-9ec2-7989874c0498","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://clitestamg.weu.azgrafana.io","zoneRedundancy":"Disabled"}}' + 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"}}' headers: cache-control: - no-cache content-length: - - '794' + - '866' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:11:04 GMT + - Wed, 11 May 2022 17:26:31 GMT etag: - - '"8f0051a2-0000-0d00-0000-6225072e0000"' + - '"bd021417-0000-0d00-0000-627bf1bd0000"' expires: - '-1' pragma: @@ -736,10 +728,9 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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 + 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' @@ -747,7 +738,7 @@ interactions: api-supported-versions: - 2021-09-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + - 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: @@ -755,13 +746,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:11:06 GMT + - Wed, 11 May 2022 17:26:32 GMT etag: - - '"8f00c3a2-0000-0d00-0000-6225074a0000"' + - '"bd02e117-0000-0d00-0000-627bf1c80000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + - 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: @@ -791,24 +782,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:11:36 GMT + - Wed, 11 May 2022 17:27:02 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -834,24 +824,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:12:06 GMT + - Wed, 11 May 2022 17:27:32 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -877,24 +866,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:12:36 GMT + - Wed, 11 May 2022 17:28:02 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -920,24 +908,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:13:06 GMT + - Wed, 11 May 2022 17:28:32 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -963,24 +950,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:13:37 GMT + - Wed, 11 May 2022 17:29:03 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -1006,24 +992,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:14:07 GMT + - Wed, 11 May 2022 17:29:33 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -1049,24 +1034,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:14:37 GMT + - Wed, 11 May 2022 17:30:04 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -1092,24 +1076,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:15:07 GMT + - Wed, 11 May 2022 17:30:34 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -1135,24 +1118,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:15:37 GMT + - Wed, 11 May 2022 17:31:04 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -1178,24 +1160,23 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-03-06T19:11:05.8767667Z","error":{}}' + 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: - - '515' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:16:07 GMT + - Wed, 11 May 2022 17:31:34 GMT etag: - - '"8200f06d-0000-0d00-0000-6225074b0000"' + - '"77005d19-0000-0d00-0000-627bf1ca0000"' expires: - '-1' pragma: @@ -1221,28 +1202,118 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.33.0 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 - (Windows-10-10.0.22000-SP0) + - 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97?api-version=2021-09-01-preview + 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/dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","name":"dc1f4407-4966-48c7-9ceb-425b17116e61*C607E3A5F1C17CECD2978FCB885153A785E95679378145314D9E4E43EAE14F97","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-03-06T19:11:05.8767667Z","endTime":"2022-03-06T19:16:26.3790885Z","error":{},"properties":null}' + 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: - - '575' + - '514' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:16:37 GMT + - Wed, 11 May 2022 17:32:04 GMT etag: - - '"82002d71-0000-0d00-0000-6225088a0000"' + - '"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":"Succeeded","startTime":"2022-05-11T17:26:32.414668Z","endTime":"2022-05-11T17:32:08.2119502Z","error":{},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '574' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 17:32:35 GMT + etag: + - '"7700192f-0000-0d00-0000-627bf3180000"' + 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.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 + 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 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 17:32:34 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: @@ -1271,16 +1342,16 @@ interactions: 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/yugangw/providers/Microsoft.Dashboard/grafana/yugangweus2e","name":"yugangweus2e","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus2euap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-03-04T03:45:10.1825533Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-04T03:45:10.1825533Z"},"identity":{"principalId":"f462ffcd-951a-4521-82b0-0cff25c5c18a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://yugangweus2e.eus2e.azgrafana.io","zoneRedundancy":"Disabled"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yugangw/providers/Microsoft.Dashboard/grafana/yugangwcus3","name":"yugangwcus3","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"centraluseuap","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-02-26T04:13:32.6306926Z","lastModifiedBy":"ce34e7e5-485f-4d76-964f-b3d2b16d1e4f","lastModifiedByType":"Application","lastModifiedAt":"2022-02-26T04:17:52.2265322Z"},"identity":{"principalId":"a2bd0803-4837-42e5-a1b8-d63bfa4f6a90","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://yugangwcus3.cuse.azgrafana.io","zoneRedundancy":"Disabled"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yugangw/providers/Microsoft.Dashboard/grafana/yugangweus","name":"yugangweus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"eastus","tags":{"doo":"foo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-03-06T18:29:10.4356225Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-03-06T18:29:10.4356225Z"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"8.4.1","endpoint":"https://yugangweus.eus.azgrafana.io","zoneRedundancy":"Disabled"}}]}' + 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"}}]}' headers: cache-control: - no-cache content-length: - - '2235' + - '1713' content-type: - application/json; charset=utf-8 date: - - Sun, 06 Mar 2022 19:16:39 GMT + - Wed, 11 May 2022 17:32:36 GMT expires: - '-1' pragma: @@ -1292,11 +1363,12 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 391f4478-64fa-4311-8704-0350b9e18e2b - - ab52290e-ac8b-4be7-b377-7eda188afe4a - - 0d2d4deb-715c-45ca-9bc6-15be1e190b58 - - 31a5c63b-0536-484a-8dcc-1ce72fc82ca6 - - 80b9ac79-b98c-42d1-bba1-ba719e3c07af + - 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/dist/amg-0.1.0-py3-none-any.whl b/src/amg/dist/amg-0.1.0-py3-none-any.whl deleted file mode 100644 index 221243c3a78..00000000000 Binary files a/src/amg/dist/amg-0.1.0-py3-none-any.whl and /dev/null differ diff --git a/src/amg/setup.py b/src/amg/setup.py index fd6c7c34872..8d6ec630136 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.0' +VERSION = '0.1.1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers