From df2474e1d0b4fc99b140068ecb70540c6af42cb8 Mon Sep 17 00:00:00 2001 From: Yugang Wang Date: Sun, 29 Jan 2023 23:15:04 -0800 Subject: [PATCH] Enable Grafana mail notification (#5806) * update to new api-version * code complete * add sample * code cleaning up --- src/amg/azext_amg/_help.py | 3 + src/amg/azext_amg/_params.py | 8 + src/amg/azext_amg/custom.py | 42 +- ...{test_amg_base.yaml => test_amg_crud.yaml} | 640 +++--- .../tests/latest/recordings/test_amg_e2e.yaml | 1201 ++++------ .../latest/recordings/test_api_key_e2e.yaml | 409 ++-- .../recordings/test_service_account_e2e.yaml | 523 ++--- .../tests/latest/test_amg_scenario.py | 2 +- src/amg/azext_amg/vendored_sdks/__init__.py | 7 +- .../azext_amg/vendored_sdks/_configuration.py | 55 +- .../_dashboard_management_client.py | 61 +- src/amg/azext_amg/vendored_sdks/_patch.py | 2 +- .../azext_amg/vendored_sdks/_serialization.py | 1996 +++++++++++++++++ src/amg/azext_amg/vendored_sdks/_vendor.py | 11 +- .../azext_amg/vendored_sdks/aio/__init__.py | 7 +- .../vendored_sdks/aio/_configuration.py | 54 +- .../aio/_dashboard_management_client.py | 52 +- src/amg/azext_amg/vendored_sdks/aio/_patch.py | 2 +- .../vendored_sdks/aio/operations/__init__.py | 15 +- .../_enterprise_details_operations.py | 122 + .../aio/operations/_grafana_operations.py | 644 ++++-- .../aio/operations/_operations.py | 85 +- .../vendored_sdks/aio/operations/_patch.py | 1 + ...private_endpoint_connections_operations.py | 463 ++-- .../_private_link_resources_operations.py | 146 +- .../vendored_sdks/models/__init__.py | 124 +- .../_dashboard_management_client_enums.py | 59 +- .../vendored_sdks/models/_models_py3.py | 1041 ++++++--- .../azext_amg/vendored_sdks/models/_patch.py | 1 + .../vendored_sdks/operations/__init__.py | 15 +- .../_enterprise_details_operations.py | 160 ++ .../operations/_grafana_operations.py | 887 +++++--- .../vendored_sdks/operations/_operations.py | 114 +- .../vendored_sdks/operations/_patch.py | 1 + ...private_endpoint_connections_operations.py | 635 +++--- .../_private_link_resources_operations.py | 236 +- src/amg/azext_amg/vendored_sdks/py.typed | 1 + 37 files changed, 6312 insertions(+), 3513 deletions(-) rename src/amg/azext_amg/tests/latest/recordings/{test_amg_base.yaml => test_amg_crud.yaml} (59%) create mode 100644 src/amg/azext_amg/vendored_sdks/_serialization.py create mode 100644 src/amg/azext_amg/vendored_sdks/aio/operations/_enterprise_details_operations.py create mode 100644 src/amg/azext_amg/vendored_sdks/operations/_enterprise_details_operations.py create mode 100644 src/amg/azext_amg/vendored_sdks/py.typed diff --git a/src/amg/azext_amg/_help.py b/src/amg/azext_amg/_help.py index 021d572d2a..d636a99fae 100644 --- a/src/amg/azext_amg/_help.py +++ b/src/amg/azext_amg/_help.py @@ -40,6 +40,9 @@ - name: disable the public network access text: | az grafana update -g MyResourceGroup -n MyGrafana --public-network-access disabled + - name: enable mail notification through SMTP relay sevice of mailgun + text: | + az grafana update -g MyResourceGroup -n MyGrafana --smtp enabled --from-address johndoe@outlook.com --from-name john --host "smtp.mailgun.org:587" --user "postmaster@sandbox12345.mailgun.org" --password "password" --start-tls-policy OpportunisticStartTLS --skip-verify true """ helps['grafana data-source'] = """ diff --git a/src/amg/azext_amg/_params.py b/src/amg/azext_amg/_params.py index 10e9998fa2..8995b63093 100644 --- a/src/amg/azext_amg/_params.py +++ b/src/amg/azext_amg/_params.py @@ -42,6 +42,14 @@ def load_arguments(self, _): help="if enabled, the Grafana workspace will have fixed egress IPs you can use them in the firewall of datasources") c.argument("public_network_access", get_enum_type(["Enabled", "Disabled"]), options_list=["-p", "--public-network-access"], help="allow public network access") + c.argument("smtp", get_enum_type(["Enabled", "Disabled"]), arg_group='SMTP', help="allow Grafana to send email") + c.argument("host", arg_group='SMTP', help="Smtp server url(port included)") + c.argument("user", arg_group='SMTP', help="Smtp server user name") + c.argument("password", arg_group='SMTP', help="Smtp server user password") + c.argument("from_address", arg_group='SMTP', help="Address used when sending out emails") + c.argument("from_name", arg_group='SMTP', help="Name to be used when sending out emails") + c.argument("start_tls_policy", get_enum_type(["OpportunisticStartTLS", "MandatoryStartTLS", "NoStartTLS"]), arg_group='SMTP', help="TLS policy") + c.argument("skip_verify", arg_group='SMTP', arg_type=get_three_state_flag(), help="Skip verifying SSL for SMTP server") with self.argument_context("grafana dashboard") as c: c.argument("uid", options_list=["--dashboard"], help="dashboard uid") diff --git a/src/amg/azext_amg/custom.py b/src/amg/azext_amg/custom.py index 0bb6b6a6dc..b7c5f0abcd 100644 --- a/src/amg/azext_amg/custom.py +++ b/src/amg/azext_amg/custom.py @@ -149,13 +149,19 @@ def list_grafana(cmd, resource_group_name=None): def update_grafana(cmd, grafana_name, api_key_and_service_account=None, deterministic_outbound_ip=None, - public_network_access=None, resource_group_name=None, tags=None): - if (not api_key_and_service_account and not deterministic_outbound_ip - and not public_network_access and not tags): - raise ArgumentUsageError("--api-key | --service-account | --tags" - "--deterministic-outbound-ip | --public-network-access") + public_network_access=None, smtp=None, host=None, user=None, password=None, + start_tls_policy=None, skip_verify=None, from_address=None, from_name=None, + resource_group_name=None, tags=None): + + # pylint: disable=too-many-boolean-expressions, too-many-boolean-expressions + + if (not api_key_and_service_account and not deterministic_outbound_ip and not public_network_access and not tags + and not smtp and not host and not user and not password and not start_tls_policy and not from_address + and not from_name and skip_verify is None): + raise ArgumentUsageError("Please supply at least one parameter value to update the Grafana workspace") client = cf_amg(cmd.cli_ctx) + instance = client.grafana.get(resource_group_name, grafana_name) if api_key_and_service_account: @@ -170,6 +176,32 @@ def update_grafana(cmd, grafana_name, api_key_and_service_account=None, determin if tags: instance.tags = tags + if (smtp or host or user or password or start_tls_policy + or from_address or from_name or skip_verify is not None): + + from azext_amg.vendored_sdks.models import GrafanaConfigurations, Smtp + if not instance.properties.grafana_configurations: + instance.properties.grafana_configurations = GrafanaConfigurations() + if not instance.properties.grafana_configurations.smtp: + instance.properties.grafana_configurations.smtp = Smtp() + + if smtp: + instance.properties.grafana_configurations.smtp.enabled = (smtp == "Enabled") + if host: + instance.properties.grafana_configurations.smtp.host = host + if user: + instance.properties.grafana_configurations.smtp.user = user + if password: + instance.properties.grafana_configurations.smtp.password = password + if start_tls_policy: + instance.properties.grafana_configurations.smtp.start_tls_policy = start_tls_policy + if skip_verify is not None: + instance.properties.grafana_configurations.smtp.skip_verify = skip_verify + if from_address: + instance.properties.grafana_configurations.smtp.from_address = from_address + if from_name: + instance.properties.grafana_configurations.smtp.from_name = from_name + # "begin_create" uses PUT, which handles both Create and Update return client.grafana.begin_create(resource_group_name, grafana_name, instance) diff --git a/src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml b/src/amg/azext_amg/tests/latest/recordings/test_amg_crud.yaml similarity index 59% rename from src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml rename to src/amg/azext_amg/tests/latest/recordings/test_amg_crud.yaml index d617c557d4..738a3d4f8d 100644 --- a/src/amg/azext_amg/tests/latest/recordings/test_amg_base.yaml +++ b/src/amg/azext_amg/tests/latest/recordings/test_amg_crud.yaml @@ -20,29 +20,29 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T16:57:34.664107Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:49:46.2350212Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview cache-control: - no-cache content-length: - - '1072' + - '1106' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 16:57:36 GMT + - Sun, 22 Jan 2023 20:49:47 GMT etag: - - '"2a00bb27-0000-0600-0000-639217800000"' + - '"0000ce26-0000-0600-0000-63cda16b0000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview pragma: - no-cache request-context: @@ -74,10 +74,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 16:58:06 GMT + - Sun, 22 Jan 2023 20:50:17 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -120,10 +120,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -132,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 16:58:36 GMT + - Sun, 22 Jan 2023 20:50:47 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -166,10 +166,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -178,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 16:59:07 GMT + - Sun, 22 Jan 2023 20:51:17 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -212,10 +212,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 16:59:36 GMT + - Sun, 22 Jan 2023 20:51:48 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -258,10 +258,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -270,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:00:06 GMT + - Sun, 22 Jan 2023 20:52:17 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -304,10 +304,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -316,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:00:37 GMT + - Sun, 22 Jan 2023 20:52:47 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -350,10 +350,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -362,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:01:07 GMT + - Sun, 22 Jan 2023 20:53:17 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -396,10 +396,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2023-01-22T20:49:47.4328457Z"}' headers: cache-control: - no-cache @@ -408,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:01:36 GMT + - Sun, 22 Jan 2023 20:53:48 GMT etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' + - '"42001696-0000-0600-0000-63cda16b0000"' expires: - '-1' pragma: @@ -442,148 +442,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' - headers: - cache-control: - - no-cache - content-length: - - '508' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Dec 2022 17:02:07 GMT - etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' - headers: - cache-control: - - no-cache - content-length: - - '508' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Dec 2022 17:02:37 GMT - etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Accepted","startTime":"2022-12-08T16:57:35.8773256Z"}' - headers: - cache-control: - - no-cache - content-length: - - '508' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Dec 2022 17:03:07 GMT - etag: - - '"0000f93b-0000-0600-0000-6392177f0000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"542749ba-f83b-4f97-b419-15b95500d0d1*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Succeeded","startTime":"2022-12-08T16:57:35.8773256Z","endTime":"2022-12-08T17:03:33.5016156Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"4290b015-553c-4d20-86d8-ef9811c8ac2f*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Succeeded","startTime":"2023-01-22T20:49:47.4328457Z","endTime":"2023-01-22T20:54:01.0556271Z","error":{},"properties":null}' headers: cache-control: - no-cache @@ -592,9 +454,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:37 GMT + - Sun, 22 Jan 2023 20:54:18 GMT etag: - - '"0000743c-0000-0600-0000-639218e50000"' + - '"4200efa1-0000-0600-0000-63cda2690000"' expires: - '-1' pragma: @@ -626,21 +488,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T16:57:34.664107Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:49:46.2350212Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache content-length: - - '1025' + - '1027' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:37 GMT + - Sun, 22 Jan 2023 20:54:18 GMT etag: - - '"2a001bd6-0000-0600-0000-639218e50000"' + - '"0000d126-0000-0600-0000-63cda2690000"' expires: - '-1' pragma: @@ -674,19 +536,19 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2022-10-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T16:57:34.664107Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:49:46.2350212Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' headers: cache-control: - no-cache content-length: - - '1037' + - '1039' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:40 GMT + - Sun, 22 Jan 2023 20:54:20 GMT expires: - '-1' pragma: @@ -698,15 +560,19 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 0b54efbf-21c6-4f97-b4fb-092bc6dbda69 - - 2a227c27-9f89-40f1-b897-99ed07d6016d - - b5b11004-342c-4725-8607-144177ce17a9 - - f24f46fc-bd24-484d-a294-26c3ed8482e3 - - 8cce5d9e-738a-4a30-811e-2a28644114f4 - - 7b03e032-03a4-4559-b5d9-efe8f0a40b22 - - 2546e536-1ae5-4c4e-9aa6-d61f1c74e4b1 - - a6314f96-f502-4ada-beb6-2a9c2ae22f11 - - 402dd8bc-f0de-4199-950e-40892d409c61 + - bbf07ae7-4ff5-416b-8c06-6e9208a1a04a + - af3040dd-320f-4fb4-a24f-8d1cafc77969 + - 53f30ec2-b206-4b3f-8bd6-6f812290929d + - a53387e6-9af5-409b-b9be-92b006cf9724 + - 0a616298-4adb-4d4a-8022-70cfd5847125 + - b2cfdf50-973f-48a8-8e31-1bd68055e82d + - 89ac540c-dca7-4dcf-8051-0c51e1d7c1a7 + - 8bafffe2-e244-4438-9ac9-ab3cd749d168 + - 08f3b0a6-ec92-4816-bba5-a058a377ef8c + - 4dc46410-7818-457b-9d9a-766d7e7ed82f + - 0ae70a74-674b-49d6-805b-d78bcf554928 + - bb6139b9-eb0e-48fa-8fc3-b09265644223 + - dd9fbb2b-c8b9-478d-8968-03a079becd1d status: code: 200 message: OK @@ -724,19 +590,19 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-10-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-12-08T16:55:12.987149Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T16:57:34.664107Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwscus","name":"yugangwscus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T00:36:56.3893044Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T04:46:34.5139318Z"},"identity":{"principalId":"011ffbe2-ab76-4572-8221-9f97719b08b2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"grafanaVersion":"9.3.2.2","endpoint":"https://yugangwscus-areycch9c2a9hba9.scus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}},{"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":"2023-01-20T00:53:01.4642177Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[{"azureMonitorWorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/workspaces/providers/microsoft.monitor/accounts/yugangwmac"}]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:49:46.2350212Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' headers: cache-control: - no-cache content-length: - - '2090' + - '3352' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:41 GMT + - Sun, 22 Jan 2023 20:54:22 GMT expires: - '-1' pragma: @@ -748,15 +614,19 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 0c70728e-a28e-4a88-8146-3de35c8d0aa9 - - e4fb26a1-0597-4cbe-9546-f7fcc8d88347 - - b03b3ad2-cb25-43c2-8b8d-131661aa73a5 - - c7109390-863e-4ba3-aa87-19318a91a5a6 - - 25707bd8-8051-41b2-88fd-af1a084a5ac9 - - aa2d12b3-e5f3-4449-9d8a-630621f12eea - - e6d307e4-438f-4bc5-b806-73dbfa4f0ff1 - - 9b128a1a-a99a-40c9-9f40-c0a383a56b6e - - cca36fc6-8072-459d-bbb2-4077e5c142f8 + - 09896aa9-f089-430f-8520-ba995148b821 + - bed2caca-9c7c-4d5e-aa1f-e8a3b8e702af + - ee967082-a1d3-46bf-87c3-ac1373cb2f4a + - 1af0c126-c291-4b74-9712-3bd5ad9135a8 + - 9f926b9e-d6f1-4165-b1ab-87925ea8029c + - c7941a99-fe98-4a94-adff-f17447c49d8a + - 10efd8bc-05be-4c6e-a764-42b7556a765c + - 6e96f56a-0ed0-488c-bb38-9e9946143e37 + - ddbb9965-1fd7-4075-9da7-3701a5c62e88 + - d03ef0a0-88c1-47de-822e-4c8fb9c41b3e + - 1635665a-63e2-45a0-8958-a8be63a5ab63 + - bbf2284e-27c4-4916-959f-bc43dde1fb78 + - d72e8c61-ceef-41c4-8506-b613ef011be0 status: code: 200 message: OK @@ -776,21 +646,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T16:57:34.664107Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:49:46.2350212Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache content-length: - - '1025' + - '1027' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:42 GMT + - Sun, 22 Jan 2023 20:54:23 GMT etag: - - '"2a001bd6-0000-0600-0000-639218e50000"' + - '"0000d126-0000-0600-0000-63cda2690000"' expires: - '-1' pragma: @@ -824,21 +694,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T16:57:34.664107Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:49:46.2350212Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache content-length: - - '1025' + - '1027' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:43 GMT + - Sun, 22 Jan 2023 20:54:23 GMT etag: - - '"2a001bd6-0000-0600-0000-639218e50000"' + - '"0000d126-0000-0600-0000-63cda2690000"' expires: - '-1' pragma: @@ -859,8 +729,9 @@ interactions: - request: body: '{"sku": {"name": "Standard"}, "properties": {"publicNetworkAccess": "Enabled", "zoneRedundancy": "Disabled", "apiKey": "Enabled", "deterministicOutboundIP": - "Enabled", "autoGeneratedDomainNameLabelScope": "TenantReuse"}, "identity": - {"type": "SystemAssigned"}, "tags": {"foo": "doo"}, "location": "westcentralus"}' + "Enabled", "autoGeneratedDomainNameLabelScope": "TenantReuse", "grafanaIntegrations": + {"azureMonitorWorkspaceIntegrations": []}}, "identity": {"type": "SystemAssigned"}, + "tags": {"foo": "doo"}, "location": "westcentralus"}' headers: Accept: - application/json @@ -871,7 +742,7 @@ interactions: Connection: - keep-alive Content-Length: - - '313' + - '379' Content-Type: - application/json ParameterSetName: @@ -879,23 +750,23 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T17:03:43.8138173Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.72.98","52.161.27.20"],"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:54:25.0552299Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["20.69.18.75","20.69.17.180"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview cache-control: - no-cache content-length: - - '1068' + - '1136' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:45 GMT + - Sun, 22 Jan 2023 20:54:25 GMT etag: - - '"2a0061da-0000-0600-0000-639218f00000"' + - '"0000d726-0000-0600-0000-63cda2810000"' expires: - '-1' pragma: @@ -933,21 +804,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T17:03:43.8138173Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.72.98","52.161.27.20"],"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:54:25.0552299Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["20.69.18.75","20.69.17.180"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: cache-control: - no-cache content-length: - - '1068' + - '1136' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:45 GMT + - Sun, 22 Jan 2023 20:54:26 GMT etag: - - '"2a0061da-0000-0600-0000-639218f00000"' + - '"0000d726-0000-0600-0000-63cda2810000"' expires: - '-1' pragma: @@ -981,21 +852,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T17:03:43.8138173Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.72.98","52.161.27.20"],"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:54:25.0552299Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["20.69.18.75","20.69.17.180"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: cache-control: - no-cache content-length: - - '1068' + - '1136' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:45 GMT + - Sun, 22 Jan 2023 20:54:26 GMT etag: - - '"2a0061da-0000-0600-0000-639218f00000"' + - '"0000d726-0000-0600-0000-63cda2810000"' expires: - '-1' pragma: @@ -1016,8 +887,9 @@ interactions: - request: body: '{"sku": {"name": "Standard"}, "properties": {"publicNetworkAccess": "Disabled", "zoneRedundancy": "Disabled", "apiKey": "Disabled", "deterministicOutboundIP": - "Disabled", "autoGeneratedDomainNameLabelScope": "TenantReuse"}, "identity": - {"type": "SystemAssigned"}, "tags": {"foo": "doo"}, "location": "westcentralus"}' + "Disabled", "autoGeneratedDomainNameLabelScope": "TenantReuse", "grafanaIntegrations": + {"azureMonitorWorkspaceIntegrations": []}}, "identity": {"type": "SystemAssigned"}, + "tags": {"foo": "doo"}, "location": "westcentralus"}' headers: Accept: - application/json @@ -1028,7 +900,7 @@ interactions: Connection: - keep-alive Content-Length: - - '316' + - '382' Content-Type: - application/json ParameterSetName: @@ -1036,23 +908,23 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T17:03:46.2739698Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Disabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:54:27.4509802Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Disabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview cache-control: - no-cache content-length: - - '1044' + - '1113' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:46 GMT + - Sun, 22 Jan 2023 20:54:27 GMT etag: - - '"2a0077db-0000-0600-0000-639218f20000"' + - '"0000d926-0000-0600-0000-63cda2830000"' expires: - '-1' pragma: @@ -1070,7 +942,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1090,21 +962,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T17:03:46.2739698Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Disabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:54:27.4509802Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Disabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: cache-control: - no-cache content-length: - - '1044' + - '1113' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:47 GMT + - Sun, 22 Jan 2023 20:54:28 GMT etag: - - '"2a0077db-0000-0600-0000-639218f20000"' + - '"0000d926-0000-0600-0000-63cda2830000"' expires: - '-1' pragma: @@ -1138,21 +1010,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2022-12-08T16:57:34.664107Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-08T17:03:46.2739698Z"},"identity":{"principalId":"b31d2630-a0bb-433b-83b8-3b54b40e5283","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Disabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T20:49:46.2350212Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T20:54:27.4509802Z"},"identity":{"principalId":"cd5dc10f-f269-409d-b991-d4f1a22f2d36","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Disabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: cache-control: - no-cache content-length: - - '1044' + - '1113' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:47 GMT + - Sun, 22 Jan 2023 20:54:29 GMT etag: - - '"2a0077db-0000-0600-0000-639218f20000"' + - '"0000d926-0000-0600-0000-63cda2830000"' expires: - '-1' pragma: @@ -1188,15 +1060,13 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2?api-version=2022-10-01-preview response: body: string: 'null' headers: - api-supported-versions: - - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview cache-control: - no-cache content-length: @@ -1204,17 +1074,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:03:48 GMT + - Sun, 22 Jan 2023 20:54:30 GMT etag: - - '"2a0029dc-0000-0600-0000-639218f40000"' + - '"0000da26-0000-0600-0000-63cda2860000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-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: @@ -1242,21 +1110,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:04:18 GMT + - Sun, 22 Jan 2023 20:55:00 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1284,21 +1152,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:04:48 GMT + - Sun, 22 Jan 2023 20:55:29 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1326,21 +1194,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:05:18 GMT + - Sun, 22 Jan 2023 20:56:00 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1368,21 +1236,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:05:49 GMT + - Sun, 22 Jan 2023 20:56:30 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1410,21 +1278,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:06:19 GMT + - Sun, 22 Jan 2023 20:56:59 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1452,21 +1320,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:06:49 GMT + - Sun, 22 Jan 2023 20:57:29 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1494,21 +1362,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:07:18 GMT + - Sun, 22 Jan 2023 20:58:00 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1536,21 +1404,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:07:48 GMT + - Sun, 22 Jan 2023 20:58:30 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1578,21 +1446,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:08:19 GMT + - Sun, 22 Jan 2023 20:59:00 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1620,21 +1488,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:08:49 GMT + - Sun, 22 Jan 2023 20:59:30 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1662,21 +1530,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:09:19 GMT + - Sun, 22 Jan 2023 21:00:00 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1704,21 +1572,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:09:49 GMT + - Sun, 22 Jan 2023 21:00:30 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1746,21 +1614,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:10:19 GMT + - Sun, 22 Jan 2023 21:01:00 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1788,21 +1656,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:10:49 GMT + - Sun, 22 Jan 2023 21:01:31 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1830,21 +1698,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2022-12-08T17:03:48.6948609Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '519' + - '508' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:11:19 GMT + - Sun, 22 Jan 2023 21:02:01 GMT etag: - - '"00007f3c-0000-0600-0000-639218f90000"' + - '"4200dba3-0000-0600-0000-63cda2850000"' expires: - '-1' pragma: @@ -1872,21 +1740,63 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","name":"ca41dfea-629b-4de4-9334-9f3f76ca9ed4*1518C2F250B5846A7C548C5C0B9EDEDA2C36D852BC27A47F1C9FAC418A15C194","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Succeeded","startTime":"2022-12-08T17:03:48.6948609Z","endTime":"2022-12-08T17:11:26.8368525Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Deleting","startTime":"2023-01-22T20:54:29.9530808Z"}' headers: cache-control: - no-cache content-length: - - '579' + - '508' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 22 Jan 2023 21:02:31 GMT + etag: + - '"4200dba3-0000-0600-0000-63cda2850000"' + 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406?api-version=2022-10-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","name":"6e84c4f7-3325-49db-9bfd-fcf864e18459*75A650BEB05C88497BBA8CE1306068BC1486CB3112A5549C25672A95DE49E406","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg2","status":"Succeeded","startTime":"2023-01-22T20:54:29.9530808Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '527' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:11:49 GMT + - Sun, 22 Jan 2023 21:03:00 GMT etag: - - '"0000bb3c-0000-0600-0000-63921abe0000"' + - '"02005104-0000-4d00-0000-63cda4710000"' expires: - '-1' pragma: @@ -1921,7 +1831,7 @@ interactions: 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%27b31d2630-a0bb-433b-83b8-3b54b40e5283%27&api-version=2020-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27cd5dc10f-f269-409d-b991-d4f1a22f2d36%27&api-version=2020-04-01-preview response: body: string: '{"value":[]}' @@ -1933,7 +1843,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:11:50 GMT + - Sun, 22 Jan 2023 21:03:01 GMT expires: - '-1' pragma: @@ -1965,19 +1875,19 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-10-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-12-08T16:55:12.987149Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwscus","name":"yugangwscus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"yugangw@microsoft.com","createdByType":"User","createdAt":"2023-01-22T00:36:56.3893044Z","lastModifiedBy":"yugangw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T04:46:34.5139318Z"},"identity":{"principalId":"011ffbe2-ab76-4572-8221-9f97719b08b2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"grafanaVersion":"9.3.2.2","endpoint":"https://yugangwscus-areycch9c2a9hba9.scus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}},{"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":"2023-01-20T00:53:01.4642177Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[{"azureMonitorWorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/workspaces/providers/microsoft.monitor/accounts/yugangwmac"}]}}}]}' headers: cache-control: - no-cache content-length: - - '1064' + - '2324' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Dec 2022 17:11:51 GMT + - Sun, 22 Jan 2023 21:03:03 GMT expires: - '-1' pragma: @@ -1989,15 +1899,19 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - e09372b3-0534-4922-b44e-b776b9e6f615 - - 057ba34c-27a6-4548-b6c3-dd281abefb11 - - 1921b194-005b-4261-a14b-7812c3725484 - - 4b314568-37a7-44fc-8593-09b5fe1223ac - - d36e3fcb-e838-45a2-963a-55da87b5e572 - - 8c7b9517-bbce-4276-8b4f-ea081fd09d7b - - 99f918b0-8f70-4b9b-8fe5-1b4f012b6589 - - a115c185-e993-436f-93ac-48407d7aafc5 - - 978d6c7c-863c-4739-b880-7638f323af56 + - 3152ee07-0793-47b4-969a-a743a8aecc42 + - 3de01911-cf58-4a79-a120-7efc94183473 + - 94f4d34c-bd54-4a4e-b08c-68f1d9a4f8aa + - ae2c478a-3524-4b75-bba1-1fab294bf427 + - 462df9d5-9e70-4f35-990b-2cc0e245bcb9 + - f3f761d8-852d-4c4c-8e31-802b9b9a9ac8 + - 3f3e2bdc-d01e-40ca-bad0-2fe15c24e75a + - 2799d0ed-f5fe-4d58-bf58-2c1572111c9c + - a787dff1-2004-4d8e-b227-35f68a9948a4 + - 22665726-ff5e-4439-ac4e-111814f05076 + - b960c7d6-6927-4728-9e61-04e4bf84eccd + - 6d52bdd3-e803-4fe8-9b44-2d960fde9c39 + - 4dc09562-abe2-499e-a8ce-58f478c18e54 status: code: 200 message: OK 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 426a7f5ece..f51d933354 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 @@ -20,29 +20,29 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-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=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + 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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview cache-control: - no-cache content-length: - - '1063' + - '1095' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:57:22 GMT + - Mon, 23 Jan 2023 00:08:55 GMT etag: - - '"7e02ceb8-0000-0d00-0000-638b8e020000"' + - '"01007aaf-0000-0d00-0000-63cdd0160000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview pragma: - no-cache request-context: @@ -74,10 +74,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:57:53 GMT + - Mon, 23 Jan 2023 00:09:25 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -120,10 +120,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -132,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:58:23 GMT + - Mon, 23 Jan 2023 00:09:55 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -166,10 +166,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -178,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:58:53 GMT + - Mon, 23 Jan 2023 00:10:26 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -212,10 +212,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:59:24 GMT + - Mon, 23 Jan 2023 00:10:56 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -258,10 +258,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -270,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:59:54 GMT + - Mon, 23 Jan 2023 00:11:26 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -304,10 +304,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -316,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:00:24 GMT + - Mon, 23 Jan 2023 00:11:56 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -350,10 +350,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -362,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:00:54 GMT + - Mon, 23 Jan 2023 00:12:26 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -396,10 +396,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2023-01-23T00:08:53.9908121Z"}' headers: cache-control: - no-cache @@ -408,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:01:24 GMT + - Mon, 23 Jan 2023 00:12:57 GMT etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' + - '"1c007941-0000-0d00-0000-63cdd0150000"' expires: - '-1' pragma: @@ -442,194 +442,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:01:54 GMT - etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:02:25 GMT - etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:02:55 GMT - etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Accepted","startTime":"2022-12-03T17:57:22.0752704Z"}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:03:25 GMT - etag: - - '"90031f22-0000-0d00-0000-638b8e020000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"e8bd86af-1f93-4ef9-bb29-4821848fca7b*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-12-03T17:57:22.0752704Z","endTime":"2022-12-03T18:03:38.5110622Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"be64971d-a6f7-4dda-aefa-9485375ba8ac*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2023-01-23T00:08:53.9908121Z","endTime":"2023-01-23T00:13:14.7347089Z","error":{},"properties":null}' headers: cache-control: - no-cache @@ -638,9 +454,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:03:55 GMT + - Mon, 23 Jan 2023 00:13:28 GMT etag: - - '"90035522-0000-0d00-0000-638b8f7a0000"' + - '"1c007e44-0000-0d00-0000-63cdd11a0000"' expires: - '-1' pragma: @@ -672,10 +488,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-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=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + 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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache @@ -684,9 +500,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:03:56 GMT + - Mon, 23 Jan 2023 00:13:28 GMT etag: - - '"7e0238ba-0000-0d00-0000-638b8f7a0000"' + - '"0100e7af-0000-0d00-0000-63cdd11a0000"' expires: - '-1' pragma: @@ -722,9 +538,9 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"a30db067-cde1-49be-95bb-9619a8cc8617","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"b30411f5-fea1-4a59-9ad9-3db7c7ead579"},{"disabledPlans":[],"skuId":"4a51bf65-409c-4a91-b845-1121b571cc9d"},{"disabledPlans":["c815c93d-0759-4bb8-b857-bc921a71be83","7162bd38-edae-4022-83a7-c5837f951759","b622badb-1b45-48d5-920f-4b27a2c0996c","b74d57b2-58e9-484a-9731-aeccbba954f0"],"skuId":"61902246-d7cb-453e-85cd-53ee28eec138"},{"disabledPlans":["b76fb638-6ba6-402a-b9f9-83d28acb3d86","cd31b152-6326-4d1b-ae1b-997b625182e6","a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["b622badb-1b45-48d5-920f-4b27a2c0996c"],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"f30db892-07e9-47e9-837c-80727f46fd3d"},{"disabledPlans":[],"skuId":"34715a50-7d92-426f-99e9-f815e0ae1de5"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"6ea4c1ef-c259-46df-bce2-943342cd3cb2"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"74d93933-6f22-436e-9441-66d205435abb"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"91f50f7b-2204-4803-acac-5cf5668b8b39"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"dc789ed8-0170-4b65-a415-eb77d5bb350a"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"ea2cf03b-ac60-46ae-9c1d-eeaeb63cec86"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"c5002c70-f725-4367-b409-f0eff4fee6c0"},{"assignedTimestamp":"2022-11-09T23:14:02Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"60bf28f9-2b70-4522-96f7-335f5e06c941"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Viva-Goals","servicePlanId":"b44c6eaf-5c9f-478c-8f16-8cea26353bfb"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Modern-Workplace-Core-ITaas","servicePlanId":"9a6eeb79-0b4b-4bf0-9808-39d99a2cd5a3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"fe47a034-ab6d-4cb4-bdb4-9551354b177e"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"2d589a15-b171-4e61-9b5f-31d15eeb2872"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"59231cdf-b40d-4534-a93e-14d0cd31d27e"},{"assignedTimestamp":"2021-04-15T15:12:57Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T01:12:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-11-03T16:30:18Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-08-14T15:32:15Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2019-11-04T20:01:59Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-11-30T00:32:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"5a10155d-f5c1-411a-a8ec-e99aae125390"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"2125cfd7-2110-4567-83c4-c1cd5275163d"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"c4048e79-4474-4c74-ba9b-c31ff225e511"},{"assignedTimestamp":"2018-03-20T02:14:40Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-01-09T10:35:29Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2017-12-31T03:27:36Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-17T18:29:20Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"ProcessSimple","servicePlanId":"76846ad7-7776-4c40-a281-a386362dd1b9"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"PowerAppsService","servicePlanId":"c68f8d98-5534-41c8-bf36-22fa496fa792"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"9e700747-8b1d-45e5-ab8d-ef187ceec156"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"2789c901-c14e-48ab-a76a-be334d9d793a"},{"assignedTimestamp":"2017-07-06T19:19:57Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-06-12T08:23:48Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-05-12T23:33:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Deleted","service":"AzureAnalysis","servicePlanId":"2049e525-b859-401b-b2a0-e0a31c4b1fe4"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2016-12-19T03:16:33Z","capabilityStatus":"Deleted","service":"PowerBI","servicePlanId":"fc0a60aa-feee-4746-a0e3-aecfe81a38dd"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2012-10-10T07:21:11Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2015-07-30T06:17:13Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"27216c54-caf8-4d0d-97e2-517afb5c08f6"}],"city":"REDMOND","companyName":"Microsoft","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Azure + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"a30db067-cde1-49be-95bb-9619a8cc8617","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"b30411f5-fea1-4a59-9ad9-3db7c7ead579"},{"disabledPlans":[],"skuId":"4a51bf65-409c-4a91-b845-1121b571cc9d"},{"disabledPlans":["c815c93d-0759-4bb8-b857-bc921a71be83","7162bd38-edae-4022-83a7-c5837f951759","b622badb-1b45-48d5-920f-4b27a2c0996c","b74d57b2-58e9-484a-9731-aeccbba954f0"],"skuId":"61902246-d7cb-453e-85cd-53ee28eec138"},{"disabledPlans":["b76fb638-6ba6-402a-b9f9-83d28acb3d86","cd31b152-6326-4d1b-ae1b-997b625182e6","a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["b622badb-1b45-48d5-920f-4b27a2c0996c"],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"f30db892-07e9-47e9-837c-80727f46fd3d"},{"disabledPlans":[],"skuId":"34715a50-7d92-426f-99e9-f815e0ae1de5"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"6ea4c1ef-c259-46df-bce2-943342cd3cb2"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"74d93933-6f22-436e-9441-66d205435abb"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"91f50f7b-2204-4803-acac-5cf5668b8b39"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"dc789ed8-0170-4b65-a415-eb77d5bb350a"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"ea2cf03b-ac60-46ae-9c1d-eeaeb63cec86"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"c5002c70-f725-4367-b409-f0eff4fee6c0"},{"assignedTimestamp":"2022-11-09T23:14:02Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"60bf28f9-2b70-4522-96f7-335f5e06c941"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Viva-Goals","servicePlanId":"b44c6eaf-5c9f-478c-8f16-8cea26353bfb"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Modern-Workplace-Core-ITaas","servicePlanId":"9a6eeb79-0b4b-4bf0-9808-39d99a2cd5a3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"fe47a034-ab6d-4cb4-bdb4-9551354b177e"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"2d589a15-b171-4e61-9b5f-31d15eeb2872"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"59231cdf-b40d-4534-a93e-14d0cd31d27e"},{"assignedTimestamp":"2021-04-15T15:12:57Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T01:12:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-11-03T16:30:18Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-08-14T15:32:15Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2019-11-04T20:01:59Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-11-30T00:32:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"5a10155d-f5c1-411a-a8ec-e99aae125390"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"2125cfd7-2110-4567-83c4-c1cd5275163d"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"c4048e79-4474-4c74-ba9b-c31ff225e511"},{"assignedTimestamp":"2018-03-20T02:14:40Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-01-09T10:35:29Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2017-12-31T03:27:36Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-17T18:29:20Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"ProcessSimple","servicePlanId":"76846ad7-7776-4c40-a281-a386362dd1b9"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"PowerAppsService","servicePlanId":"c68f8d98-5534-41c8-bf36-22fa496fa792"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"9e700747-8b1d-45e5-ab8d-ef187ceec156"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"2789c901-c14e-48ab-a76a-be334d9d793a"},{"assignedTimestamp":"2017-07-06T19:19:57Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-06-12T08:23:48Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-05-12T23:33:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Deleted","service":"AzureAnalysis","servicePlanId":"2049e525-b859-401b-b2a0-e0a31c4b1fe4"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2016-12-19T03:16:33Z","capabilityStatus":"Deleted","service":"PowerBI","servicePlanId":"fc0a60aa-feee-4746-a0e3-aecfe81a38dd"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2012-10-10T07:21:11Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2015-07-30T06:17:13Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"27216c54-caf8-4d0d-97e2-517afb5c08f6"}],"city":"REDMOND","companyName":"Microsoft","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Azure Dev Exp","dirSyncEnabled":true,"displayName":"Yugang Wang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Yugang","immutableId":"138058","isCompromised":null,"jobTitle":"PRINCIPAL - SWE MANAGER","lastDirSyncTime":"2022-09-29T00:42:51Z","legalAgeGroupClassification":null,"mail":"example@example.com","mailNickname":"yugangw","mobile":null,"onPremisesDistinguishedName":"CN=Yugang + SWE MANAGER","lastDirSyncTime":"2023-01-20T00:31:36Z","legalAgeGroupClassification":null,"mail":"example@example.com","mailNickname":"yugangw","mobile":null,"onPremisesDistinguishedName":"CN=Yugang Wang,OU=MSE,OU=Users,OU=CoreIdentity,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-415191","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"18/3700FL","postalCode":null,"preferredLanguage":null,"provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"Netbreeze"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"}],"provisioningErrors":[],"proxyAddresses":["X500:/O=Nokia/OU=HUB/cn=Recipients/cn=yugangw","X500:/o=SDF/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=sdflabs.com-51490-Yugang Wang (Volt)e3d6fb0c","X500:/o=microsoft/ou=northamerica/cn=Recipients/cn=572513","X500:/o=microsoft/ou=First @@ -747,25 +563,25 @@ interactions: cache-control: - no-cache content-length: - - '24836' + - '25292' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Sat, 03 Dec 2022 18:03:57 GMT + - Mon, 23 Jan 2023 00:13:29 GMT duration: - - '1541093' + - '1614475' expires: - '-1' ocp-aad-diagnostics-server-name: - - /gOF437Hmda72mglZqa21Wk3NmHUXajt44ZBZOm7aK4= + - 903w76f6J66w6J4DkF51MTjj/hIflp2ZcjrYTlSqFpo= ocp-aad-session-key: - - CQr65m0gLAofBmH9Splt1tq3q_rjwYnAjYfT1gw0MnjIZQsyJPsSyflVN-kSbzqjsdxUaoGKgfR1qYS6KKurPU9MndSQDb19LOqOXVOeruIHfdshuzJNJCXGDMZQA8bz.AZuygfd-0xLA2XeKQQ6pwBkcVfjYF86x80xfAfntfkc + - 7rtFiDUI7x3TS9QM35ER0r-p900cZ9WO3giiJFavH-lEIF-_mU2l8M1vzBThYQgLu51S7jm8HD4WC4cf-kCDrrjuYNmE3jKkXpd_kVq82WOG4JcE2uDBdk6SKFUNlOHc.v0QWIS-rL-ItNHNbg1ytV1vPUJ8YXIPDKl-FExa_z9Y pragma: - no-cache request-id: - - cbe3bf02-b5b4-4f2f-953e-5f95b5d42983 + - c0145500-b527-4d9b-b8b2-09ff1375fe29 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -811,7 +627,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:03:57 GMT + - Mon, 23 Jan 2023 00:13:29 GMT expires: - '-1' pragma: @@ -856,7 +672,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?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":"a30db067-cde1-49be-95bb-9619a8cc8617","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T18:04:00.0719685Z","updatedOn":"2022-12-03T18:04:00.5563548Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","principalId":"a30db067-cde1-49be-95bb-9619a8cc8617","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:31.2501678Z","updatedOn":"2023-01-23T00:13:31.6407232Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -865,7 +681,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:04 GMT + - Mon, 23 Jan 2023 00:13:34 GMT expires: - '-1' pragma: @@ -904,7 +720,7 @@ interactions: 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":[],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-09-06T15:18:41.7429165Z","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"}]}' + read all monitoring data.","assignableScopes":["/"],"permissions":[{"actions":["*/read","Microsoft.OperationalInsights/workspaces/search/action","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-09-06T17:20:40.5763144Z","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 @@ -913,7 +729,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:04 GMT + - Mon, 23 Jan 2023 00:13:35 GMT expires: - '-1' pragma: @@ -933,7 +749,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05", - "principalId": "3fcb21e0-a296-453c-a37b-3d24559f92d6"}}' + "principalId": "d115507b-f8a5-4761-9b87-89ce735c09df"}}' headers: Accept: - application/json @@ -958,7 +774,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?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":"3fcb21e0-a296-453c-a37b-3d24559f92d6","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T18:04:04.9732371Z","updatedOn":"2022-12-03T18:04:05.3951131Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:35.9463873Z","updatedOn":"2023-01-23T00:13:36.3370140Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -967,7 +783,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:06 GMT + - Mon, 23 Jan 2023 00:13:37 GMT expires: - '-1' pragma: @@ -999,10 +815,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' + 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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' headers: cache-control: - no-cache @@ -1011,7 +827,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:08 GMT + - Mon, 23 Jan 2023 00:13:39 GMT expires: - '-1' pragma: @@ -1023,15 +839,19 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - d6f3384f-1134-441a-883d-193529ed8393 - - 36ce4ce3-18b1-43a0-8cd1-74dbafba39ae - - 3726d68a-f392-4237-9c4f-37b12f2bfb46 - - da46a09e-16a2-424d-8449-7aadbcaa7ea7 - - 42f9bf6b-f27d-41ef-8c04-5fccabf33b3a - - 1f115185-b7bb-4133-a3ce-5dd3d8762a2d - - 365ed4a5-1b54-440f-80b2-bba2e89c1660 - - 148fa6b9-2eb1-4fdc-9ba6-884d6edda896 - - 2bf9971a-c4d5-4db3-bdbf-eee65a991f62 + - 4af599ec-9b4c-4fc3-92f5-bb71a556d65c + - e649ab80-5625-4799-b33a-b05030310a08 + - 6514bf38-df3f-43bb-aef0-e685013a3c89 + - 8432696e-bff2-488c-8bef-c83d87672b54 + - bad92448-4b36-46a6-91ec-48131182f2bb + - 83e40923-e422-4032-a7ae-2f33a5e4063e + - 3a883fb6-2f41-4b9b-9cbc-9ed7173399ca + - a637d2c2-22d8-45d3-a6ac-fa7c66d0f813 + - 82aa13ee-f46f-464f-b32b-161019813d1b + - b67f7189-ec60-477e-9554-7bf195b0dac1 + - 90565ca2-3bd0-437c-8185-87eb6ad0a1f4 + - b4471ff0-4826-4386-b730-209d78b3d25f + - 1f217321-f1cf-4498-a9ca-1413e63fa31a status: code: 200 message: OK @@ -1049,19 +869,19 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-06-18T15:53:09.0679646Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-01T06:13:14.848094Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"grafanaVersion":"9.1.8.1","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg3ungkidy4o3wdvnefew2wlzo3bvfzthxrprre4lxmare6tgzllanrybcfxpbyug/providers/Microsoft.Dashboard/grafana/clitestamg2","name":"clitestamg2","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{"foo":"doo"},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:15.9785031Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T18:03:56.708138Z"},"identity":{"principalId":"68eecfc1-0715-46dd-b195-5a962b3662cc","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Deleting","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg2-avhnfvgwe8fvasek.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}},{"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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwscus","name":"yugangwscus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-22T00:36:56.3893044Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T04:46:34.5139318Z"},"identity":{"principalId":"011ffbe2-ab76-4572-8221-9f97719b08b2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"grafanaVersion":"9.3.2.2","endpoint":"https://yugangwscus-areycch9c2a9hba9.scus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}},{"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":"example@example.com","createdByType":"User","createdAt":"2022-06-18T15:53:09.0679646Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-20T00:53:01.4642177Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[{"azureMonitorWorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/workspaces/providers/microsoft.monitor/accounts/yugangwmac"}]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amgev4rcxnbpkmlxgqecf64pakgos3gyke2s5mxyljkpfpota5ztlkfs4hqpjroo7u/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.7155255Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.7155255Z"},"identity":{"principalId":"2218eee3-434e-43c1-a202-10bd63d99133","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amgqmcjims7ivcqz3t2wxfyxob3teglnrroi7spretfss6nijlffkihn5q75n3occk/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.65194Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.65194Z"},"identity":{"principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}},{"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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' headers: cache-control: - no-cache content-length: - - '3209' + - '5514' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:09 GMT + - Mon, 23 Jan 2023 00:13:41 GMT expires: - '-1' pragma: @@ -1073,15 +893,19 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 1f45f27b-b7f2-494c-b999-4e60289ebcbb - - 4119cde9-5e62-44df-ba9c-e0009454a2ab - - b34f5da0-bcdb-494f-b002-058a3d414ff1 - - f68f5901-173c-4db1-af7f-e2a73f5bd329 - - dc73916f-7df5-4389-80ed-d8374ede5e8e - - 6759da65-fe7c-44a6-91d7-e3f1d73ec486 - - 010f6c66-e1b0-47ec-84c7-f613138552d9 - - 85e61cdb-bdc9-4dfe-b07d-4ea3603481fb - - 780dc200-ed70-47dc-9b6c-be0afbd0e2cb + - c85258e3-1cad-45af-8016-9d5e818d5d8b + - 3887cd0d-8d95-4645-9bf7-d84959acf38f + - 58cb7558-50dd-4b57-902d-b9fbe7d7272f + - 6ee846dc-3481-4d1e-b1b1-fbeaca48b6eb + - f467cba0-2603-4875-bd8a-3f3938b89534 + - 73fde02c-6e85-4024-8ae2-ad40f2fffd73 + - c0e4ba4a-4183-4d2d-9671-47b3fb53b099 + - 225d2d69-927a-4361-8ed4-d91b4154c444 + - 113cda00-f4bb-48f1-a590-d2a8a2bf916c + - b825e91f-30c4-469c-b30c-fc96ba39e07e + - d0bec3fc-bdfb-4fe7-b472-ce437c0597be + - 92229365-f710-4e7a-a4d5-67198f88573e + - 2fcd32a7-8441-4473-b38d-8baff63ea0af status: code: 200 message: OK @@ -1101,10 +925,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-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=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + 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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache @@ -1113,9 +937,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:10 GMT + - Mon, 23 Jan 2023 00:13:42 GMT etag: - - '"7e0238ba-0000-0d00-0000-638b8f7a0000"' + - '"0100e7af-0000-0d00-0000-63cdd11a0000"' expires: - '-1' pragma: @@ -1149,10 +973,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-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=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + 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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache @@ -1161,9 +985,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:12 GMT + - Mon, 23 Jan 2023 00:13:44 GMT etag: - - '"7e0238ba-0000-0d00-0000-638b8f7a0000"' + - '"0100e7af-0000-0d00-0000-63cdd11a0000"' expires: - '-1' pragma: @@ -1198,21 +1022,21 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/org/users response: body: - string: '[{"orgId":1,"userId":2,"email":"example@example.com","name":"example@example.com","avatarUrl":"/avatar/3d063897fed105833776e2dba66ec90b","login":"example@example.com","role":"Admin","lastSeenAt":"2022-12-03T18:04:13Z","lastSeenAtAge":"\u003c - 1 minute"}]' + string: '[{"orgId":1,"userId":2,"email":"example@example.com","name":"example@example.com","avatarUrl":"/avatar/3d063897fed105833776e2dba66ec90b","login":"example@example.com","role":"Admin","lastSeenAt":"2023-01-23T00:13:47Z","lastSeenAtAge":"\u003c + 1 minute","isDisabled":false}]' headers: cache-control: - no-cache connection: - keep-alive content-length: - - '253' + - '272' content-security-policy: - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:13 GMT + - Mon, 23 Jan 2023 00:13:47 GMT expires: - '-1' pragma: @@ -1220,7 +1044,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090654.458.307.733464|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432826.917.309.983588|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1250,20 +1074,21 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/user response: body: - string: '{"id":2,"email":"example@example.com","name":"example@example.com","login":"example@example.com","theme":"","orgId":1,"isGrafanaAdmin":false,"isDisabled":false,"isExternal":true,"authLabels":["OAuth"],"updatedAt":"2022-12-03T18:04:13Z","createdAt":"2022-12-03T18:04:13Z","avatarUrl":"/avatar/3d063897fed105833776e2dba66ec90b"}' + string: '{"id":2,"email":"example@example.com","name":"example@example.com","login":"example@example.com","theme":"","orgId":1,"isGrafanaAdmin":false,"isDisabled":false,"isExternal":true,"authLabels":["Auth + Proxy"],"updatedAt":"2023-01-23T00:13:47Z","createdAt":"2023-01-23T00:13:47Z","avatarUrl":"/avatar/3d063897fed105833776e2dba66ec90b"}' headers: cache-control: - no-cache connection: - keep-alive content-length: - - '326' + - '331' content-security-policy: - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:14 GMT + - Mon, 23 Jan 2023 00:13:48 GMT expires: - '-1' pragma: @@ -1271,7 +1096,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090655.592.315.939776|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432828.788.308.704654|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1303,7 +1128,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders response: body: - string: '{"id":49,"uid":"2yO_doKVk","title":"Test Folder","url":"/dashboards/f/2yO_doKVk/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"example@example.com","created":"2022-12-03T18:04:15Z","updatedBy":"example@example.com","updated":"2022-12-03T18:04:15Z","version":1}' + string: '{"id":48,"uid":"uDq_s0T4z","title":"Test Folder","url":"/dashboards/f/uDq_s0T4z/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"example@example.com","created":"2023-01-23T00:13:48Z","updatedBy":"example@example.com","updated":"2023-01-23T00:13:48Z","version":1}' headers: cache-control: - no-cache @@ -1316,7 +1141,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:15 GMT + - Mon, 23 Jan 2023 00:13:48 GMT expires: - '-1' pragma: @@ -1324,7 +1149,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090656.435.307.312245|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432829.697.308.197599|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1354,7 +1179,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/id/Test%20Folder response: body: - string: '{"message":"id is invalid","traceID":"0a94a825112ce447829a09edb3a25181"}' + string: '{"message":"id is invalid","traceID":"dca4eee5113f9848962bec8c37286d27"}' headers: cache-control: - no-cache @@ -1365,7 +1190,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:16 GMT + - Mon, 23 Jan 2023 00:13:49 GMT expires: - '-1' pragma: @@ -1373,7 +1198,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090657.112.307.49641|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432830.42.316.561742|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1414,7 +1239,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:16 GMT + - Mon, 23 Jan 2023 00:13:50 GMT expires: - '-1' pragma: @@ -1422,7 +1247,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090657.68.315.419440|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432831.307.66173|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1452,8 +1277,8 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders response: body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":25,"uid":"PrometheusMDM","title":"Azure - Monitor Container Insights"},{"id":13,"uid":"geneva","title":"Geneva"},{"id":49,"uid":"2yO_doKVk","title":"Test + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":24,"uid":"PrometheusMDM","title":"Azure + Monitor Container Insights"},{"id":12,"uid":"geneva","title":"Geneva"},{"id":48,"uid":"uDq_s0T4z","title":"Test Folder"}]' headers: cache-control: @@ -1467,7 +1292,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:17 GMT + - Mon, 23 Jan 2023 00:13:50 GMT expires: - '-1' pragma: @@ -1475,8 +1300,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090658.396.307.573453|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432831.7.315.286180|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -1502,10 +1327,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/id/2yO_doKVk + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/id/uDq_s0T4z response: body: - string: '{"message":"id is invalid","traceID":"5d052e865161054a98ecc75433539107"}' + string: '{"message":"id is invalid","traceID":"b436cbf67f7b1c4399d08842b996d87d"}' headers: cache-control: - no-cache @@ -1516,7 +1341,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:18 GMT + - Mon, 23 Jan 2023 00:13:51 GMT expires: - '-1' pragma: @@ -1524,7 +1349,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090659.067.308.979193|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432832.375.308.230105|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1551,10 +1376,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/2yO_doKVk + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/uDq_s0T4z response: body: - string: '{"id":49,"uid":"2yO_doKVk","title":"Test Folder","url":"/dashboards/f/2yO_doKVk/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"example@example.com","created":"2022-12-03T18:04:15Z","updatedBy":"example@example.com","updated":"2022-12-03T18:04:15Z","version":1}' + string: '{"id":48,"uid":"uDq_s0T4z","title":"Test Folder","url":"/dashboards/f/uDq_s0T4z/test-folder","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"example@example.com","created":"2023-01-23T00:13:48Z","updatedBy":"example@example.com","updated":"2023-01-23T00:13:48Z","version":1}' headers: cache-control: - no-cache @@ -1567,7 +1392,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:18 GMT + - Mon, 23 Jan 2023 00:13:52 GMT expires: - '-1' pragma: @@ -1575,7 +1400,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090659.654.318.960502|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432832.956.309.135925|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1604,10 +1429,10 @@ interactions: content-type: - application/json method: PUT - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/2yO_doKVk + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/uDq_s0T4z response: body: - string: '{"id":49,"uid":"2yO_doKVk","title":"Test Folder Update","url":"/dashboards/f/2yO_doKVk/test-folder-update","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"example@example.com","created":"2022-12-03T18:04:15Z","updatedBy":"example@example.com","updated":"2022-12-03T18:04:19Z","version":2}' + string: '{"id":48,"uid":"uDq_s0T4z","title":"Test Folder Update","url":"/dashboards/f/uDq_s0T4z/test-folder-update","hasAcl":false,"canSave":true,"canEdit":true,"canAdmin":true,"canDelete":true,"createdBy":"example@example.com","created":"2023-01-23T00:13:48Z","updatedBy":"example@example.com","updated":"2023-01-23T00:13:52Z","version":2}' headers: cache-control: - no-cache @@ -1620,7 +1445,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:19 GMT + - Mon, 23 Jan 2023 00:13:52 GMT expires: - '-1' pragma: @@ -1628,7 +1453,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090660.244.307.794951|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432833.533.307.437595|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1658,8 +1483,8 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders response: body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":25,"uid":"PrometheusMDM","title":"Azure - Monitor Container Insights"},{"id":13,"uid":"geneva","title":"Geneva"},{"id":49,"uid":"2yO_doKVk","title":"Test + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":24,"uid":"PrometheusMDM","title":"Azure + Monitor Container Insights"},{"id":12,"uid":"geneva","title":"Geneva"},{"id":48,"uid":"uDq_s0T4z","title":"Test Folder Update"}]' headers: cache-control: @@ -1673,7 +1498,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:19 GMT + - Mon, 23 Jan 2023 00:13:53 GMT expires: - '-1' pragma: @@ -1681,8 +1506,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090660.947.310.603649|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432834.25.310.230172|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -1711,7 +1536,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/id/Test%20Folder%20Update response: body: - string: '{"message":"id is invalid","traceID":"2c6c5ecb9dc78a44a2dae28ed2261709"}' + string: '{"message":"id is invalid","traceID":"39c1ab46b1e01440a1bfd51a9d8906b1"}' headers: cache-control: - no-cache @@ -1722,7 +1547,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:20 GMT + - Mon, 23 Jan 2023 00:13:53 GMT expires: - '-1' pragma: @@ -1730,7 +1555,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090661.603.317.307112|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432834.921.308.295683|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1771,7 +1596,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:21 GMT + - Mon, 23 Jan 2023 00:13:54 GMT expires: - '-1' pragma: @@ -1779,7 +1604,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090662.167.307.691925|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432835.468.310.976438|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1809,8 +1634,8 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders response: body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":25,"uid":"PrometheusMDM","title":"Azure - Monitor Container Insights"},{"id":13,"uid":"geneva","title":"Geneva"},{"id":49,"uid":"2yO_doKVk","title":"Test + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":24,"uid":"PrometheusMDM","title":"Azure + Monitor Container Insights"},{"id":12,"uid":"geneva","title":"Geneva"},{"id":48,"uid":"uDq_s0T4z","title":"Test Folder Update"}]' headers: cache-control: @@ -1824,7 +1649,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:21 GMT + - Mon, 23 Jan 2023 00:13:55 GMT expires: - '-1' pragma: @@ -1832,8 +1657,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090662.716.310.529168|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432836.039.315.9060|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -1861,10 +1686,10 @@ interactions: content-type: - application/json method: DELETE - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/2yO_doKVk + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders/uDq_s0T4z response: body: - string: '{"id":49,"message":"Folder Test Folder Update deleted","title":"Test + string: '{"id":48,"message":"Folder Test Folder Update deleted","title":"Test Folder Update"}' headers: cache-control: @@ -1878,7 +1703,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:22 GMT + - Mon, 23 Jan 2023 00:13:55 GMT expires: - '-1' pragma: @@ -1886,7 +1711,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090663.311.315.716745|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432836.791.307.214936|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1916,8 +1741,8 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/folders response: body: - string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":25,"uid":"PrometheusMDM","title":"Azure - Monitor Container Insights"},{"id":13,"uid":"geneva","title":"Geneva"}]' + string: '[{"id":1,"uid":"az-mon","title":"Azure Monitor"},{"id":24,"uid":"PrometheusMDM","title":"Azure + Monitor Container Insights"},{"id":12,"uid":"geneva","title":"Geneva"}]' headers: cache-control: - no-cache @@ -1930,7 +1755,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:23 GMT + - Mon, 23 Jan 2023 00:13:56 GMT expires: - '-1' pragma: @@ -1938,7 +1763,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090664.058.307.630003|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432837.573.308.691591|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -1971,7 +1796,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources response: body: - string: '{"datasource":{"id":4,"uid":"YlblOTK4z","orgId":1,"name":"Test Azure + string: '{"datasource":{"id":4,"uid":"DYVus0oVz","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":4,"message":"Datasource added","name":"Test Azure Monitor Data Source"}' headers: @@ -1986,7 +1811,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:23 GMT + - Mon, 23 Jan 2023 00:13:57 GMT expires: - '-1' pragma: @@ -1994,8 +1819,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090664.728.310.889686|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432838.242.310.23403|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2024,7 +1849,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source response: body: - string: '{"id":4,"uid":"YlblOTK4z","orgId":1,"name":"Test Azure Monitor Data + string: '{"id":4,"uid":"DYVus0oVz","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: @@ -2038,7 +1863,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:24 GMT + - Mon, 23 Jan 2023 00:13:58 GMT expires: - '-1' pragma: @@ -2046,8 +1871,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090665.408.318.135372|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432838.973.316.4012|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2076,7 +1901,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source response: body: - string: '{"id":4,"uid":"YlblOTK4z","orgId":1,"name":"Test Azure Monitor Data + string: '{"id":4,"uid":"DYVus0oVz","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: @@ -2090,7 +1915,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:25 GMT + - Mon, 23 Jan 2023 00:13:58 GMT expires: - '-1' pragma: @@ -2098,7 +1923,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090666.049.307.246032|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432839.641.308.441008|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2131,7 +1956,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources/4 response: body: - string: '{"datasource":{"id":4,"uid":"YlblOTK4z","orgId":1,"name":"Test Azure + string: '{"datasource":{"id":4,"uid":"DYVus0oVz","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":4,"message":"Datasource updated","name":"Test Azure Monitor Data Source"}' headers: @@ -2146,7 +1971,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:25 GMT + - Mon, 23 Jan 2023 00:13:59 GMT expires: - '-1' pragma: @@ -2154,7 +1979,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090666.614.309.485336|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432840.672.315.648092|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2187,7 +2012,7 @@ interactions: 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":"2462343E-2B86-44E6-A7CE-6FF5E5C3E2E7"},"readOnly":false},{"id":2,"uid":"prometheus-mdm","orgId":1,"name":"Azure Monitor Container Insights","type":"prometheus","typeName":"Prometheus","typeLogoUrl":"public/app/plugins/datasource/prometheus/img/prometheus_logo.svg","access":"proxy","url":"https://az-ncus.prod.prometheusmetrics.trafficmanager.net","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureCredentials":{"authType":"msi"},"httpHeaderName1":"mdmAccountName","httpMethod":"POST","manageAlerts":false,"timeInterval":"30s"},"readOnly":false},{"id":3,"uid":"Geneva","orgId":1,"name":"Geneva - Datasource","type":"geneva-datasource","typeName":"Geneva Datasource","typeLogoUrl":"public/plugins/geneva-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureCredentials":{"authType":"msi"}},"readOnly":false},{"id":4,"uid":"YlblOTK4z","orgId":1,"name":"Test + Datasource","type":"geneva-datasource","typeName":"Geneva Datasource","typeLogoUrl":"public/plugins/geneva-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"azureCredentials":{"authType":"msi"}},"readOnly":false},{"id":4,"uid":"DYVus0oVz","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: @@ -2202,7 +2027,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:26 GMT + - Mon, 23 Jan 2023 00:14:00 GMT expires: - '-1' pragma: @@ -2210,8 +2035,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090667.304.310.628153|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432841.39.310.188087|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2240,7 +2065,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources/name/Test%20Azure%20Monitor%20Data%20Source response: body: - string: '{"id":4,"uid":"YlblOTK4z","orgId":1,"name":"Test Azure Monitor Data + string: '{"id":4,"uid":"DYVus0oVz","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: @@ -2254,7 +2079,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:26 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -2262,7 +2087,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090667.966.309.51062|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432842.068.309.64365|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2291,7 +2116,7 @@ interactions: content-type: - application/json method: DELETE - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources/uid/YlblOTK4z + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/datasources/uid/DYVus0oVz response: body: string: '{"id":4,"message":"Data source deleted"}' @@ -2307,7 +2132,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:27 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -2315,7 +2140,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090668.532.316.820718|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432842.648.317.284123|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2361,7 +2186,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:28 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -2369,7 +2194,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090669.245.307.376329|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432843.364.308.297920|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2402,7 +2227,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications response: body: - string: '{"id":1,"uid":"KCs_OoFVz","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-12-03T18:04:28.975173369Z","updated":"2022-12-03T18:04:28.975173469Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + string: '{"id":1,"uid":"WdcXyAT4k","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2023-01-23T00:14:03.088365587Z","updated":"2023-01-23T00:14:03.088365687Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' headers: cache-control: - no-cache @@ -2415,7 +2240,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:28 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -2423,8 +2248,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090669.931.309.338535|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432844.05.315.588525|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2450,10 +2275,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/KCs_OoFVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/WdcXyAT4k response: body: - string: '{"message":"notificationId is invalid","traceID":"b4eae41f03dc614d9662201cfc639f9f"}' + string: '{"message":"notificationId is invalid","traceID":"8e6e90e4ea78ae42bba8e0288bc26d71"}' headers: cache-control: - no-cache @@ -2464,7 +2289,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:29 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -2472,8 +2297,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090670.64.309.21793|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly + - INGRESSCOOKIE=1674432844.753.308.486256|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2499,10 +2324,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/uid/KCs_OoFVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/uid/WdcXyAT4k response: body: - string: '{"id":1,"uid":"KCs_OoFVz","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-12-03T18:04:28Z","updated":"2022-12-03T18:04:28Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + string: '{"id":1,"uid":"WdcXyAT4k","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2023-01-23T00:14:03Z","updated":"2023-01-23T00:14:03Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' headers: cache-control: - no-cache @@ -2515,7 +2340,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:30 GMT + - Mon, 23 Jan 2023 00:14:04 GMT expires: - '-1' pragma: @@ -2523,7 +2348,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090671.204.307.766068|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432845.309.317.260210|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2550,10 +2375,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/KCs_OoFVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/WdcXyAT4k response: body: - string: '{"message":"notificationId is invalid","traceID":"a8ef4effd20fc244905e1579b2ccbfe6"}' + string: '{"message":"notificationId is invalid","traceID":"5bcad548194d2f46a6ef24dfd04e10a9"}' headers: cache-control: - no-cache @@ -2564,7 +2389,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:30 GMT + - Mon, 23 Jan 2023 00:14:05 GMT expires: - '-1' pragma: @@ -2572,7 +2397,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090671.865.317.982847|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432846.003.309.704673|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2599,10 +2424,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/uid/KCs_OoFVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/uid/WdcXyAT4k response: body: - string: '{"id":1,"uid":"KCs_OoFVz","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-12-03T18:04:28Z","updated":"2022-12-03T18:04:28Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + string: '{"id":1,"uid":"WdcXyAT4k","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2023-01-23T00:14:03Z","updated":"2023-01-23T00:14:03Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' headers: cache-control: - no-cache @@ -2615,7 +2440,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:31 GMT + - Mon, 23 Jan 2023 00:14:05 GMT expires: - '-1' pragma: @@ -2623,7 +2448,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090672.431.308.250890|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432846.583.317.294421|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2656,7 +2481,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/1 response: body: - string: '{"id":1,"uid":"KCs_OoFVz","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-12-03T18:04:28Z","updated":"2022-12-03T18:04:32Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + string: '{"id":1,"uid":"WdcXyAT4k","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2023-01-23T00:14:03Z","updated":"2023-01-23T00:14:06Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' headers: cache-control: - no-cache @@ -2669,7 +2494,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:32 GMT + - Mon, 23 Jan 2023 00:14:06 GMT expires: - '-1' pragma: @@ -2677,7 +2502,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090672.997.307.388092|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432847.157.310.354998|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2707,7 +2532,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications response: body: - string: '[{"id":1,"uid":"KCs_OoFVz","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-12-03T18:04:28Z","updated":"2022-12-03T18:04:32Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}]' + string: '[{"id":1,"uid":"WdcXyAT4k","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2023-01-23T00:14:03Z","updated":"2023-01-23T00:14:06Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}]' headers: cache-control: - no-cache @@ -2720,7 +2545,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:32 GMT + - Mon, 23 Jan 2023 00:14:06 GMT expires: - '-1' pragma: @@ -2728,8 +2553,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090673.671.308.63979|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly + - INGRESSCOOKIE=1674432847.867.317.459117|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2755,10 +2580,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/KCs_OoFVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/WdcXyAT4k response: body: - string: '{"message":"notificationId is invalid","traceID":"0b05674cbdf60240a34f9f585250ff32"}' + string: '{"message":"notificationId is invalid","traceID":"1c089633bde0ca46881826cd3a865af7"}' headers: cache-control: - no-cache @@ -2769,7 +2594,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:33 GMT + - Mon, 23 Jan 2023 00:14:07 GMT expires: - '-1' pragma: @@ -2777,7 +2602,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090674.373.308.578060|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432848.549.309.912072|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2804,10 +2629,10 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/uid/KCs_OoFVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/alert-notifications/uid/WdcXyAT4k response: body: - string: '{"id":1,"uid":"KCs_OoFVz","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2022-12-03T18:04:28Z","updated":"2022-12-03T18:04:32Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' + string: '{"id":1,"uid":"WdcXyAT4k","name":"Test Teams Notification Channel","type":"teams","isDefault":false,"sendReminder":false,"disableResolveMessage":false,"frequency":"","created":"2023-01-23T00:14:03Z","updated":"2023-01-23T00:14:06Z","settings":{"url":"https://test.webhook.office.com/IncomingWebhook/"},"secureFields":{}}' headers: cache-control: - no-cache @@ -2820,7 +2645,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:33 GMT + - Mon, 23 Jan 2023 00:14:08 GMT expires: - '-1' pragma: @@ -2828,8 +2653,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090674.95.315.419504|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly + - INGRESSCOOKIE=1674432849.118.307.489499|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -2873,7 +2698,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:34 GMT + - Mon, 23 Jan 2023 00:14:08 GMT expires: - '-1' pragma: @@ -2881,7 +2706,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090675.531.310.535877|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432849.703.318.478899|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2924,7 +2749,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:35 GMT + - Mon, 23 Jan 2023 00:14:09 GMT expires: - '-1' pragma: @@ -2932,7 +2757,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090676.201.308.521077|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432850.396.309.152665|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -2964,7 +2789,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/dashboards/db response: body: - string: '{"id":50,"slug":"test-dashboard","status":"success","uid":"RPqldTKVz","url":"/d/RPqldTKVz/test-dashboard","version":1}' + string: '{"id":49,"slug":"test-dashboard","status":"success","uid":"MVaXs0oVz","url":"/d/MVaXs0oVz/test-dashboard","version":1}' headers: cache-control: - no-cache @@ -2977,7 +2802,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:35 GMT + - Mon, 23 Jan 2023 00:14:10 GMT expires: - '-1' pragma: @@ -2985,8 +2810,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090676.869.315.719553|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432851.07.309.35859|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -3012,24 +2837,24 @@ interactions: content-type: - application/json method: GET - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/dashboards/uid/RPqldTKVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/dashboards/uid/MVaXs0oVz response: body: - string: '{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"test-dashboard","url":"/d/RPqldTKVz/test-dashboard","expires":"0001-01-01T00:00:00Z","created":"2022-12-03T18:04:35Z","updated":"2022-12-03T18:04:35Z","updatedBy":"example@example.com","createdBy":"example@example.com","version":1,"hasAcl":false,"isFolder":false,"folderId":0,"folderUid":"","folderTitle":"General","folderUrl":"","provisioned":false,"provisionedExternalId":"","annotationsPermissions":{"dashboard":{"canAdd":false,"canEdit":false,"canDelete":false},"organization":{"canAdd":false,"canEdit":false,"canDelete":false}},"publicDashboardAccessToken":"","publicDashboardEnabled":false},"dashboard":{"id":50,"title":"Test - Dashboard","uid":"RPqldTKVz","version":1}}' + string: '{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"test-dashboard","url":"/d/MVaXs0oVz/test-dashboard","expires":"0001-01-01T00:00:00Z","created":"2023-01-23T00:14:10Z","updated":"2023-01-23T00:14:10Z","updatedBy":"example@example.com","createdBy":"example@example.com","version":1,"hasAcl":false,"isFolder":false,"folderId":0,"folderUid":"","folderTitle":"General","folderUrl":"","provisioned":false,"provisionedExternalId":"","annotationsPermissions":{"dashboard":{"canAdd":false,"canEdit":false,"canDelete":false},"organization":{"canAdd":false,"canEdit":false,"canDelete":false}},"publicDashboardAccessToken":"","publicDashboardUid":"","publicDashboardEnabled":false},"dashboard":{"id":49,"title":"Test + Dashboard","uid":"MVaXs0oVz","version":1}}' headers: cache-control: - no-cache connection: - keep-alive content-length: - - '781' + - '805' content-security-policy: - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:36 GMT + - Mon, 23 Jan 2023 00:14:10 GMT expires: - '-1' pragma: @@ -3037,7 +2862,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090677.545.317.599515|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432851.795.315.123214|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -3051,7 +2876,7 @@ interactions: code: 200 message: OK - request: - body: '{"dashboard": {"title": "Test Dashboard", "uid": "RPqldTKVz", "version": + body: '{"dashboard": {"title": "Test Dashboard", "uid": "MVaXs0oVz", "version": 1}, "overwrite": true}' headers: Accept: @@ -3070,7 +2895,7 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/dashboards/db response: body: - string: '{"id":50,"slug":"test-dashboard","status":"success","uid":"RPqldTKVz","url":"/d/RPqldTKVz/test-dashboard","version":2}' + string: '{"id":49,"slug":"test-dashboard","status":"success","uid":"MVaXs0oVz","url":"/d/MVaXs0oVz/test-dashboard","version":2}' headers: cache-control: - no-cache @@ -3083,7 +2908,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:37 GMT + - Mon, 23 Jan 2023 00:14:11 GMT expires: - '-1' pragma: @@ -3091,8 +2916,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090678.21.310.743629|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly + - INGRESSCOOKIE=1674432852.503.309.163077|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -3121,85 +2946,85 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/search?type=dash-db response: body: - string: '[{"id":24,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":23,"uid":"54KhiZ7nz","title":"AKS - Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":21,"uid":"6uRDjTNnz","title":"App - Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":3,"uid":"dyzn5SK7z","title":"Azure + string: '[{"id":15,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":17,"uid":"54KhiZ7nz","title":"AKS + Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":18,"uid":"6uRDjTNnz","title":"App + Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":8,"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 + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"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":"AppInsightsAvTestGeoMap","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AppInsightsAvTestGeoMap","title":"Azure / Insights / Applications Test Availability Geo Map","uri":"db/azure-insights-applications-test-availability-geo-map","url":"/d/AppInsightsAvTestGeoMap/azure-insights-applications-test-availability-geo-map","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":"INH9berMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":6,"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 + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"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":11,"uid":"tQZAMYrMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"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":12,"uid":"3n2E8CrGk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"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":4,"uid":"AzVmInsightsByRG","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"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":6,"uid":"AzVmInsightsByWS","title":"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":9,"uid":"Mtwt2BV7k","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":11,"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":14,"uid":"xLERdASnz","title":"Cluster - Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":26,"uid":"vkQ0UHxiddk","title":"CoreDNS","uri":"db/coredns","url":"/d/vkQ0UHxiddk/coredns","slug":"","type":"dash-db","tags":["coredns-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":15,"uid":"QTVw7iK7z","title":"Geneva - Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":19,"uid":"icm-example","title":"IcM - Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":22,"uid":"sVKyjvpnz","title":"Incoming - Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":27,"uid":"09ec8aa1e996d6ffcd6817bbaff4db1b","title":"Kubernetes - / API server","uri":"db/kubernetes-api-server","url":"/d/09ec8aa1e996d6ffcd6817bbaff4db1b/kubernetes-api-server","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":28,"uid":"efa86fd1d0c121a26444b636a3f509a8","title":"Kubernetes - / Compute Resources / Cluster","uri":"db/kubernetes-compute-resources-cluster","url":"/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":29,"uid":"85a562078cdf77779eaa1add43ccec1e","title":"Kubernetes - / Compute Resources / Namespace (Pods)","uri":"db/kubernetes-compute-resources-namespace-pods","url":"/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":30,"uid":"a87fb0d919ec0ea5f6543124e16c42a5","title":"Kubernetes - / Compute Resources / Namespace (Workloads)","uri":"db/kubernetes-compute-resources-namespace-workloads","url":"/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":31,"uid":"200ac8fdbfbb74b39aff88118e4d1c2c","title":"Kubernetes - / Compute Resources / Node (Pods)","uri":"db/kubernetes-compute-resources-node-pods","url":"/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":32,"uid":"6581e46e4e5c7ba40a07646395ef7b23","title":"Kubernetes - / Compute Resources / Pod","uri":"db/kubernetes-compute-resources-pod","url":"/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":33,"uid":"a164a7f0339f99e89cea5cb47e9be617","title":"Kubernetes - / Compute Resources / Workload","uri":"db/kubernetes-compute-resources-workload","url":"/d/a164a7f0339f99e89cea5cb47e9be617/kubernetes-compute-resources-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":34,"uid":"3138fa155d5915769fbded898ac09ff9","title":"Kubernetes - / Kubelet","uri":"db/kubernetes-kubelet","url":"/d/3138fa155d5915769fbded898ac09ff9/kubernetes-kubelet","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":35,"uid":"ff635a025bcfea7bc3dd4f508990a3e9","title":"Kubernetes - / Networking / Cluster","uri":"db/kubernetes-networking-cluster","url":"/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":36,"uid":"8b7a8b326d7a6f1f04244066368c67af","title":"Kubernetes - / Networking / Namespace (Pods)","uri":"db/kubernetes-networking-namespace-pods","url":"/d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":37,"uid":"bbb2a765a623ae38130206c7d94a160f","title":"Kubernetes - / Networking / Namespace (Workload)","uri":"db/kubernetes-networking-namespace-workload","url":"/d/bbb2a765a623ae38130206c7d94a160f/kubernetes-networking-namespace-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":38,"uid":"7a18067ce943a40ae25454675c19ff5c","title":"Kubernetes - / Networking / Pod","uri":"db/kubernetes-networking-pod","url":"/d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":39,"uid":"728bf77cc1166d2f3133bf25846876cc","title":"Kubernetes - / Networking / Workload","uri":"db/kubernetes-networking-workload","url":"/d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":40,"uid":"919b92a8e8041bd567af9edab12c840c","title":"Kubernetes - / Persistent Volumes","uri":"db/kubernetes-persistent-volumes","url":"/d/919b92a8e8041bd567af9edab12c840c/kubernetes-persistent-volumes","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":41,"uid":"632e265de029684c40b21cb76bca4f94","title":"Kubernetes - / Proxy","uri":"db/kubernetes-proxy","url":"/d/632e265de029684c40b21cb76bca4f94/kubernetes-proxy","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":42,"uid":"F4bizNZ7k","title":"Kubernetes - / StatefulSets","uri":"db/kubernetes-statefulsets","url":"/d/F4bizNZ7k/kubernetes-statefulsets","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":46,"uid":"VESDBJS7k","title":"Kubernetes - / USE Method / Cluster(Windows)","uri":"db/kubernetes-use-method-cluster-windows","url":"/d/VESDBJS7k/kubernetes-use-method-cluster-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":47,"uid":"YCBDf1I7k","title":"Kubernetes - / USE Method / Node(Windows)","uri":"db/kubernetes-use-method-node-windows","url":"/d/YCBDf1I7k/kubernetes-use-method-node-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":16,"uid":"_sKhXTH7z","title":"Node - Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":43,"uid":"D4pVsnCGz","title":"Nodes + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":19,"uid":"xLERdASnz","title":"Cluster + Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":25,"uid":"vkQ0UHxiddk","title":"CoreDNS","uri":"db/coredns","url":"/d/vkQ0UHxiddk/coredns","slug":"","type":"dash-db","tags":["coredns-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":21,"uid":"QTVw7iK7z","title":"Geneva + Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":16,"uid":"icm-example","title":"IcM + Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":22,"uid":"sVKyjvpnz","title":"Incoming + Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":26,"uid":"09ec8aa1e996d6ffcd6817bbaff4db1b","title":"Kubernetes + / API server","uri":"db/kubernetes-api-server","url":"/d/09ec8aa1e996d6ffcd6817bbaff4db1b/kubernetes-api-server","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":27,"uid":"efa86fd1d0c121a26444b636a3f509a8","title":"Kubernetes + / Compute Resources / Cluster","uri":"db/kubernetes-compute-resources-cluster","url":"/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":28,"uid":"85a562078cdf77779eaa1add43ccec1e","title":"Kubernetes + / Compute Resources / Namespace (Pods)","uri":"db/kubernetes-compute-resources-namespace-pods","url":"/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":29,"uid":"a87fb0d919ec0ea5f6543124e16c42a5","title":"Kubernetes + / Compute Resources / Namespace (Workloads)","uri":"db/kubernetes-compute-resources-namespace-workloads","url":"/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":30,"uid":"200ac8fdbfbb74b39aff88118e4d1c2c","title":"Kubernetes + / Compute Resources / Node (Pods)","uri":"db/kubernetes-compute-resources-node-pods","url":"/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":31,"uid":"6581e46e4e5c7ba40a07646395ef7b23","title":"Kubernetes + / Compute Resources / Pod","uri":"db/kubernetes-compute-resources-pod","url":"/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":32,"uid":"a164a7f0339f99e89cea5cb47e9be617","title":"Kubernetes + / Compute Resources / Workload","uri":"db/kubernetes-compute-resources-workload","url":"/d/a164a7f0339f99e89cea5cb47e9be617/kubernetes-compute-resources-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":33,"uid":"3138fa155d5915769fbded898ac09ff9","title":"Kubernetes + / Kubelet","uri":"db/kubernetes-kubelet","url":"/d/3138fa155d5915769fbded898ac09ff9/kubernetes-kubelet","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":34,"uid":"ff635a025bcfea7bc3dd4f508990a3e9","title":"Kubernetes + / Networking / Cluster","uri":"db/kubernetes-networking-cluster","url":"/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":35,"uid":"8b7a8b326d7a6f1f04244066368c67af","title":"Kubernetes + / Networking / Namespace (Pods)","uri":"db/kubernetes-networking-namespace-pods","url":"/d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":36,"uid":"bbb2a765a623ae38130206c7d94a160f","title":"Kubernetes + / Networking / Namespace (Workload)","uri":"db/kubernetes-networking-namespace-workload","url":"/d/bbb2a765a623ae38130206c7d94a160f/kubernetes-networking-namespace-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":37,"uid":"7a18067ce943a40ae25454675c19ff5c","title":"Kubernetes + / Networking / Pod","uri":"db/kubernetes-networking-pod","url":"/d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":38,"uid":"728bf77cc1166d2f3133bf25846876cc","title":"Kubernetes + / Networking / Workload","uri":"db/kubernetes-networking-workload","url":"/d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":39,"uid":"919b92a8e8041bd567af9edab12c840c","title":"Kubernetes + / Persistent Volumes","uri":"db/kubernetes-persistent-volumes","url":"/d/919b92a8e8041bd567af9edab12c840c/kubernetes-persistent-volumes","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":40,"uid":"632e265de029684c40b21cb76bca4f94","title":"Kubernetes + / Proxy","uri":"db/kubernetes-proxy","url":"/d/632e265de029684c40b21cb76bca4f94/kubernetes-proxy","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":41,"uid":"F4bizNZ7k","title":"Kubernetes + / StatefulSets","uri":"db/kubernetes-statefulsets","url":"/d/F4bizNZ7k/kubernetes-statefulsets","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":45,"uid":"VESDBJS7k","title":"Kubernetes + / USE Method / Cluster(Windows)","uri":"db/kubernetes-use-method-cluster-windows","url":"/d/VESDBJS7k/kubernetes-use-method-cluster-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":46,"uid":"YCBDf1I7k","title":"Kubernetes + / USE Method / Node(Windows)","uri":"db/kubernetes-use-method-node-windows","url":"/d/YCBDf1I7k/kubernetes-use-method-node-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":13,"uid":"_sKhXTH7z","title":"Node + Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":42,"uid":"D4pVsnCGz","title":"Nodes (Node exporter)","uri":"db/nodes-node-exporter","url":"/d/D4pVsnCGz/nodes-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":17,"uid":"6naEwcp7z","title":"Outgoing - Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":48,"uid":"UskST-Snz","title":"Prometheus-Collector - Health","uri":"db/prometheus-collector-health","url":"/d/UskST-Snz/prometheus-collector-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":20,"uid":"GIgvhSV7z","title":"Service - Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":50,"uid":"RPqldTKVz","title":"Test - Dashboard","uri":"db/test-dashboard","url":"/d/RPqldTKVz/test-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"sortMeta":0},{"id":44,"uid":"VdrOA7jGz","title":"USE + exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":23,"uid":"6naEwcp7z","title":"Outgoing + Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":47,"uid":"UskST-Snz","title":"Prometheus-Collector + Health","uri":"db/prometheus-collector-health","url":"/d/UskST-Snz/prometheus-collector-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":14,"uid":"GIgvhSV7z","title":"Service + Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":49,"uid":"MVaXs0oVz","title":"Test + Dashboard","uri":"db/test-dashboard","url":"/d/MVaXs0oVz/test-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"sortMeta":0},{"id":43,"uid":"VdrOA7jGz","title":"USE Method / Cluster (Node exporter)","uri":"db/use-method-cluster-node-exporter","url":"/d/VdrOA7jGz/use-method-cluster-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":45,"uid":"t5ajanjMk","title":"USE + exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":44,"uid":"t5ajanjMk","title":"USE Method / Node (Node exporter)","uri":"db/use-method-node-node-exporter","url":"/d/t5ajanjMk/use-method-node-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":18,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' + exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":20,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' headers: cache-control: - no-cache @@ -3210,7 +3035,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:37 GMT + - Mon, 23 Jan 2023 00:14:12 GMT expires: - '-1' pragma: @@ -3218,8 +3043,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090678.9.307.106756|536a49a9056dcf5427f82e0e17c1daf3; Path=/; - Secure; HttpOnly + - INGRESSCOOKIE=1674432853.233.316.348374|536a49a9056dcf5427f82e0e17c1daf3; + Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: @@ -3249,10 +3074,10 @@ interactions: content-type: - application/json method: DELETE - uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/dashboards/uid/RPqldTKVz + uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/dashboards/uid/MVaXs0oVz response: body: - string: '{"id":50,"message":"Dashboard Test Dashboard deleted","title":"Test + string: '{"id":49,"message":"Dashboard Test Dashboard deleted","title":"Test Dashboard"}' headers: cache-control: @@ -3266,7 +3091,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:38 GMT + - Mon, 23 Jan 2023 00:14:13 GMT expires: - '-1' pragma: @@ -3274,8 +3099,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090679.724.316.643832|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432854.08.307.690903|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -3304,84 +3129,84 @@ interactions: uri: https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com/api/search?type=dash-db response: body: - string: '[{"id":24,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":23,"uid":"54KhiZ7nz","title":"AKS - Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":21,"uid":"6uRDjTNnz","title":"App - Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":3,"uid":"dyzn5SK7z","title":"Azure + string: '[{"id":15,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":17,"uid":"54KhiZ7nz","title":"AKS + Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":18,"uid":"6uRDjTNnz","title":"App + Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":8,"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 + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"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":"AppInsightsAvTestGeoMap","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AppInsightsAvTestGeoMap","title":"Azure / Insights / Applications Test Availability Geo Map","uri":"db/azure-insights-applications-test-availability-geo-map","url":"/d/AppInsightsAvTestGeoMap/azure-insights-applications-test-availability-geo-map","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":"INH9berMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":6,"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 + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"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":11,"uid":"tQZAMYrMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"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":12,"uid":"3n2E8CrGk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"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":4,"uid":"AzVmInsightsByRG","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"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":6,"uid":"AzVmInsightsByWS","title":"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":9,"uid":"Mtwt2BV7k","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":11,"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":14,"uid":"xLERdASnz","title":"Cluster - Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":26,"uid":"vkQ0UHxiddk","title":"CoreDNS","uri":"db/coredns","url":"/d/vkQ0UHxiddk/coredns","slug":"","type":"dash-db","tags":["coredns-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":15,"uid":"QTVw7iK7z","title":"Geneva - Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":19,"uid":"icm-example","title":"IcM - Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":22,"uid":"sVKyjvpnz","title":"Incoming - Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":27,"uid":"09ec8aa1e996d6ffcd6817bbaff4db1b","title":"Kubernetes - / API server","uri":"db/kubernetes-api-server","url":"/d/09ec8aa1e996d6ffcd6817bbaff4db1b/kubernetes-api-server","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":28,"uid":"efa86fd1d0c121a26444b636a3f509a8","title":"Kubernetes - / Compute Resources / Cluster","uri":"db/kubernetes-compute-resources-cluster","url":"/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":29,"uid":"85a562078cdf77779eaa1add43ccec1e","title":"Kubernetes - / Compute Resources / Namespace (Pods)","uri":"db/kubernetes-compute-resources-namespace-pods","url":"/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":30,"uid":"a87fb0d919ec0ea5f6543124e16c42a5","title":"Kubernetes - / Compute Resources / Namespace (Workloads)","uri":"db/kubernetes-compute-resources-namespace-workloads","url":"/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":31,"uid":"200ac8fdbfbb74b39aff88118e4d1c2c","title":"Kubernetes - / Compute Resources / Node (Pods)","uri":"db/kubernetes-compute-resources-node-pods","url":"/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":32,"uid":"6581e46e4e5c7ba40a07646395ef7b23","title":"Kubernetes - / Compute Resources / Pod","uri":"db/kubernetes-compute-resources-pod","url":"/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":33,"uid":"a164a7f0339f99e89cea5cb47e9be617","title":"Kubernetes - / Compute Resources / Workload","uri":"db/kubernetes-compute-resources-workload","url":"/d/a164a7f0339f99e89cea5cb47e9be617/kubernetes-compute-resources-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":34,"uid":"3138fa155d5915769fbded898ac09ff9","title":"Kubernetes - / Kubelet","uri":"db/kubernetes-kubelet","url":"/d/3138fa155d5915769fbded898ac09ff9/kubernetes-kubelet","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":35,"uid":"ff635a025bcfea7bc3dd4f508990a3e9","title":"Kubernetes - / Networking / Cluster","uri":"db/kubernetes-networking-cluster","url":"/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":36,"uid":"8b7a8b326d7a6f1f04244066368c67af","title":"Kubernetes - / Networking / Namespace (Pods)","uri":"db/kubernetes-networking-namespace-pods","url":"/d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":37,"uid":"bbb2a765a623ae38130206c7d94a160f","title":"Kubernetes - / Networking / Namespace (Workload)","uri":"db/kubernetes-networking-namespace-workload","url":"/d/bbb2a765a623ae38130206c7d94a160f/kubernetes-networking-namespace-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":38,"uid":"7a18067ce943a40ae25454675c19ff5c","title":"Kubernetes - / Networking / Pod","uri":"db/kubernetes-networking-pod","url":"/d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":39,"uid":"728bf77cc1166d2f3133bf25846876cc","title":"Kubernetes - / Networking / Workload","uri":"db/kubernetes-networking-workload","url":"/d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":40,"uid":"919b92a8e8041bd567af9edab12c840c","title":"Kubernetes - / Persistent Volumes","uri":"db/kubernetes-persistent-volumes","url":"/d/919b92a8e8041bd567af9edab12c840c/kubernetes-persistent-volumes","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":41,"uid":"632e265de029684c40b21cb76bca4f94","title":"Kubernetes - / Proxy","uri":"db/kubernetes-proxy","url":"/d/632e265de029684c40b21cb76bca4f94/kubernetes-proxy","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":42,"uid":"F4bizNZ7k","title":"Kubernetes - / StatefulSets","uri":"db/kubernetes-statefulsets","url":"/d/F4bizNZ7k/kubernetes-statefulsets","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":46,"uid":"VESDBJS7k","title":"Kubernetes - / USE Method / Cluster(Windows)","uri":"db/kubernetes-use-method-cluster-windows","url":"/d/VESDBJS7k/kubernetes-use-method-cluster-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":47,"uid":"YCBDf1I7k","title":"Kubernetes - / USE Method / Node(Windows)","uri":"db/kubernetes-use-method-node-windows","url":"/d/YCBDf1I7k/kubernetes-use-method-node-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":16,"uid":"_sKhXTH7z","title":"Node - Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":43,"uid":"D4pVsnCGz","title":"Nodes + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":19,"uid":"xLERdASnz","title":"Cluster + Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":25,"uid":"vkQ0UHxiddk","title":"CoreDNS","uri":"db/coredns","url":"/d/vkQ0UHxiddk/coredns","slug":"","type":"dash-db","tags":["coredns-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":21,"uid":"QTVw7iK7z","title":"Geneva + Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":16,"uid":"icm-example","title":"IcM + Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":22,"uid":"sVKyjvpnz","title":"Incoming + Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":26,"uid":"09ec8aa1e996d6ffcd6817bbaff4db1b","title":"Kubernetes + / API server","uri":"db/kubernetes-api-server","url":"/d/09ec8aa1e996d6ffcd6817bbaff4db1b/kubernetes-api-server","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":27,"uid":"efa86fd1d0c121a26444b636a3f509a8","title":"Kubernetes + / Compute Resources / Cluster","uri":"db/kubernetes-compute-resources-cluster","url":"/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":28,"uid":"85a562078cdf77779eaa1add43ccec1e","title":"Kubernetes + / Compute Resources / Namespace (Pods)","uri":"db/kubernetes-compute-resources-namespace-pods","url":"/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":29,"uid":"a87fb0d919ec0ea5f6543124e16c42a5","title":"Kubernetes + / Compute Resources / Namespace (Workloads)","uri":"db/kubernetes-compute-resources-namespace-workloads","url":"/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":30,"uid":"200ac8fdbfbb74b39aff88118e4d1c2c","title":"Kubernetes + / Compute Resources / Node (Pods)","uri":"db/kubernetes-compute-resources-node-pods","url":"/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":31,"uid":"6581e46e4e5c7ba40a07646395ef7b23","title":"Kubernetes + / Compute Resources / Pod","uri":"db/kubernetes-compute-resources-pod","url":"/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":32,"uid":"a164a7f0339f99e89cea5cb47e9be617","title":"Kubernetes + / Compute Resources / Workload","uri":"db/kubernetes-compute-resources-workload","url":"/d/a164a7f0339f99e89cea5cb47e9be617/kubernetes-compute-resources-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":33,"uid":"3138fa155d5915769fbded898ac09ff9","title":"Kubernetes + / Kubelet","uri":"db/kubernetes-kubelet","url":"/d/3138fa155d5915769fbded898ac09ff9/kubernetes-kubelet","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":34,"uid":"ff635a025bcfea7bc3dd4f508990a3e9","title":"Kubernetes + / Networking / Cluster","uri":"db/kubernetes-networking-cluster","url":"/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":35,"uid":"8b7a8b326d7a6f1f04244066368c67af","title":"Kubernetes + / Networking / Namespace (Pods)","uri":"db/kubernetes-networking-namespace-pods","url":"/d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":36,"uid":"bbb2a765a623ae38130206c7d94a160f","title":"Kubernetes + / Networking / Namespace (Workload)","uri":"db/kubernetes-networking-namespace-workload","url":"/d/bbb2a765a623ae38130206c7d94a160f/kubernetes-networking-namespace-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":37,"uid":"7a18067ce943a40ae25454675c19ff5c","title":"Kubernetes + / Networking / Pod","uri":"db/kubernetes-networking-pod","url":"/d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":38,"uid":"728bf77cc1166d2f3133bf25846876cc","title":"Kubernetes + / Networking / Workload","uri":"db/kubernetes-networking-workload","url":"/d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":39,"uid":"919b92a8e8041bd567af9edab12c840c","title":"Kubernetes + / Persistent Volumes","uri":"db/kubernetes-persistent-volumes","url":"/d/919b92a8e8041bd567af9edab12c840c/kubernetes-persistent-volumes","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":40,"uid":"632e265de029684c40b21cb76bca4f94","title":"Kubernetes + / Proxy","uri":"db/kubernetes-proxy","url":"/d/632e265de029684c40b21cb76bca4f94/kubernetes-proxy","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":41,"uid":"F4bizNZ7k","title":"Kubernetes + / StatefulSets","uri":"db/kubernetes-statefulsets","url":"/d/F4bizNZ7k/kubernetes-statefulsets","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":45,"uid":"VESDBJS7k","title":"Kubernetes + / USE Method / Cluster(Windows)","uri":"db/kubernetes-use-method-cluster-windows","url":"/d/VESDBJS7k/kubernetes-use-method-cluster-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":46,"uid":"YCBDf1I7k","title":"Kubernetes + / USE Method / Node(Windows)","uri":"db/kubernetes-use-method-node-windows","url":"/d/YCBDf1I7k/kubernetes-use-method-node-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":13,"uid":"_sKhXTH7z","title":"Node + Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":42,"uid":"D4pVsnCGz","title":"Nodes (Node exporter)","uri":"db/nodes-node-exporter","url":"/d/D4pVsnCGz/nodes-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":17,"uid":"6naEwcp7z","title":"Outgoing - Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":48,"uid":"UskST-Snz","title":"Prometheus-Collector - Health","uri":"db/prometheus-collector-health","url":"/d/UskST-Snz/prometheus-collector-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":20,"uid":"GIgvhSV7z","title":"Service - Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":44,"uid":"VdrOA7jGz","title":"USE + exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":23,"uid":"6naEwcp7z","title":"Outgoing + Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":47,"uid":"UskST-Snz","title":"Prometheus-Collector + Health","uri":"db/prometheus-collector-health","url":"/d/UskST-Snz/prometheus-collector-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":14,"uid":"GIgvhSV7z","title":"Service + Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":43,"uid":"VdrOA7jGz","title":"USE Method / Cluster (Node exporter)","uri":"db/use-method-cluster-node-exporter","url":"/d/VdrOA7jGz/use-method-cluster-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":45,"uid":"t5ajanjMk","title":"USE + exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":44,"uid":"t5ajanjMk","title":"USE Method / Node (Node exporter)","uri":"db/use-method-node-node-exporter","url":"/d/t5ajanjMk/use-method-node-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":25,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":18,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":13,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' + exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure + Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":20,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' headers: cache-control: - no-cache @@ -3392,7 +3217,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:04:39 GMT + - Mon, 23 Jan 2023 00:14:13 GMT expires: - '-1' pragma: @@ -3400,7 +3225,7 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670090680.398.309.623082|536a49a9056dcf5427f82e0e17c1daf3; + - INGRESSCOOKIE=1674432854.817.310.166848|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains @@ -3431,10 +3256,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-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=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:57:19.8480165Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:57:19.8480165Z"},"identity":{"principalId":"3fcb21e0-a296-453c-a37b-3d24559f92d6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + 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":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:52.1471466Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:52.1471466Z"},"identity":{"principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.2.7.1","endpoint":"https://clitestamg-cchsamfze0fahxeu.weu.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache @@ -3443,9 +3268,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:40 GMT + - Mon, 23 Jan 2023 00:14:15 GMT etag: - - '"7e0238ba-0000-0d00-0000-638b8f7a0000"' + - '"0100e7af-0000-0d00-0000-63cdd11a0000"' expires: - '-1' pragma: @@ -3481,15 +3306,13 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-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=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg?api-version=2022-10-01-preview response: body: string: 'null' headers: - api-supported-versions: - - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview cache-control: - no-cache content-length: @@ -3497,17 +3320,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:04:42 GMT + - Mon, 23 Jan 2023 00:14:16 GMT etag: - - '"7e028bba-0000-0d00-0000-638b8fbb0000"' + - '"0100fbaf-0000-0d00-0000-63cdd1590000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-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: @@ -3535,105 +3356,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:05:12 GMT - etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:05:43 GMT - etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' - 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.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' - headers: - cache-control: - - no-cache - content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:06:13 GMT + - Mon, 23 Jan 2023 00:14:46 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3661,21 +3398,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:06:43 GMT + - Mon, 23 Jan 2023 00:15:17 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3703,21 +3440,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:07:13 GMT + - Mon, 23 Jan 2023 00:15:47 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3745,21 +3482,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:07:43 GMT + - Mon, 23 Jan 2023 00:16:18 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3787,21 +3524,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:08:13 GMT + - Mon, 23 Jan 2023 00:16:48 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3829,21 +3566,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:08:43 GMT + - Mon, 23 Jan 2023 00:17:17 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3871,21 +3608,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:09:14 GMT + - Mon, 23 Jan 2023 00:17:47 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3913,21 +3650,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:09:44 GMT + - Mon, 23 Jan 2023 00:18:18 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3955,21 +3692,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:10:15 GMT + - Mon, 23 Jan 2023 00:18:49 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -3997,21 +3734,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2022-12-03T18:04:42.6645016Z","error":{}}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Deleting","startTime":"2023-01-23T00:14:17.0086783Z"}' headers: cache-control: - no-cache content-length: - - '515' + - '504' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:10:45 GMT + - Mon, 23 Jan 2023 00:19:18 GMT etag: - - '"90036222-0000-0d00-0000-638b8fbe0000"' + - '"1c004e45-0000-0d00-0000-63cdd1590000"' expires: - '-1' pragma: @@ -4039,21 +3776,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","name":"0252ac0a-0f5d-4dea-b33e-d0ee4c88680f*F67BC401989A8BA0125A4020E3ECFE2F1F1CCA8BBD0C6D6619EFF53847A09C62","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2022-12-03T18:04:42.6645016Z","endTime":"2022-12-03T18:11:05.0045057Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTEUROPE/operationStatuses/46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","name":"46f7e268-fa20-4b30-a313-edefb68b5d49*86AE0C0B3E43CB2504A8224A13DE0BEB171C73978B67043A7520A8C8C463B806","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamg","status":"Succeeded","startTime":"2023-01-23T00:14:17.0086783Z","properties":null}' headers: cache-control: - no-cache content-length: - - '575' + - '523' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:11:15 GMT + - Mon, 23 Jan 2023 00:19:49 GMT etag: - - '"90039b22-0000-0d00-0000-638b91390000"' + - '"71004ea7-0000-0c00-0000-63cdd28c0000"' expires: - '-1' pragma: @@ -4088,10 +3825,10 @@ interactions: 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%273fcb21e0-a296-453c-a37b-3d24559f92d6%27&api-version=2020-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments?$filter=principalId%20eq%20%27d115507b-f8a5-4761-9b87-89ce735c09df%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":"3fcb21e0-a296-453c-a37b-3d24559f92d6","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T18:04:05.6919919Z","updatedOn":"2022-12-03T18:04:05.6919919Z","createdBy":"a30db067-cde1-49be-95bb-9619a8cc8617","updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}]}' + string: '{"value":[{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:36.7275748Z","updatedOn":"2023-01-23T00:13:36.7275748Z","createdBy":"a30db067-cde1-49be-95bb-9619a8cc8617","updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}]}' headers: cache-control: - no-cache @@ -4100,7 +3837,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:11:16 GMT + - Mon, 23 Jan 2023 00:19:50 GMT expires: - '-1' pragma: @@ -4144,7 +3881,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?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":"3fcb21e0-a296-453c-a37b-3d24559f92d6","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T18:04:05.6919919Z","updatedOn":"2022-12-03T18:04:05.6919919Z","createdBy":"a30db067-cde1-49be-95bb-9619a8cc8617","updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"d115507b-f8a5-4761-9b87-89ce735c09df","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:36.7275748Z","updatedOn":"2023-01-23T00:13:36.7275748Z","createdBy":"a30db067-cde1-49be-95bb-9619a8cc8617","updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -4153,7 +3890,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:11:19 GMT + - Mon, 23 Jan 2023 00:19:52 GMT expires: - '-1' pragma: @@ -4185,19 +3922,19 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/grafana?api-version=2022-10-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":"example@example.com","createdByType":"User","createdAt":"2022-06-18T15:53:09.0679646Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-01T06:13:14.848094Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"grafanaVersion":"9.1.8.1","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/workspaces/providers/Microsoft.Dashboard/grafana/yugangwscus","name":"yugangwscus","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-22T00:36:56.3893044Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-22T04:46:34.5139318Z"},"identity":{"principalId":"011ffbe2-ab76-4572-8221-9f97719b08b2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"grafanaVersion":"9.3.2.2","endpoint":"https://yugangwscus-areycch9c2a9hba9.scus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}},{"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":"example@example.com","createdByType":"User","createdAt":"2022-06-18T15:53:09.0679646Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-20T00:53:01.4642177Z"},"identity":{"principalId":"72f1ec37-9f30-4329-8a24-b669fa665c7d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://yugangwwcus-b2dyaqd5eygsdfcf.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Enabled","outboundIPs":["52.161.126.36","52.161.147.164"],"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[{"azureMonitorWorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/workspaces/providers/microsoft.monitor/accounts/yugangwmac"}]}}}]}' headers: cache-control: - no-cache content-length: - - '1096' + - '2316' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:11:20 GMT + - Mon, 23 Jan 2023 00:19:54 GMT expires: - '-1' pragma: @@ -4209,15 +3946,19 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 0da9716f-53ed-433a-b808-c3f26f32e86d - - d42837d7-20db-4361-a335-863756b4f8b9 - - 443be483-e350-44e4-9af3-691d7fa8b06b - - 187da709-7e70-4fa7-91f9-c570a8ee776e - - 2ff41f81-c4fe-4de3-a746-6c89e9b61b52 - - 997b8e12-c24d-469c-b6bc-477d2f13b0ef - - 71c36b42-d056-41d2-8bcb-3589cb4c1a8c - - 82ff3667-fe05-4772-a4b4-47c06e00ed3c - - 36a6cb53-40d6-4b68-b9ac-021815291940 + - 9c5b69bb-7998-4ca0-b6f8-dd13d49d3b1f + - 6440c26c-6043-4a14-9f40-055486a72c0b + - 06ae2004-4945-4855-a36a-6cdcb0e1e6b8 + - c9b0c4e2-4bbb-44d4-bf9b-27aee248d37f + - 6cf06de0-269a-483f-9bc4-6aa16f503c7a + - bf4cf7e4-a50d-4110-a69f-a1777d709c5d + - 32c737d9-03d3-4697-974a-f1f95bc7eb5c + - bd228770-c5f8-4975-8b7f-d4639ea8f856 + - bcdf2bcd-1a24-497c-bcc7-4264e3a8ea5a + - e180e47c-6741-4eae-87ee-9dcdc086abf0 + - e6754745-093e-4c73-9832-70a8b9a13946 + - cfd3dbb5-c04a-45e5-8bb2-3882d2c11383 + - 76f58b49-3a6d-4568-ad4f-b039d359c1b1 status: code: 200 message: OK diff --git a/src/amg/azext_amg/tests/latest/recordings/test_api_key_e2e.yaml b/src/amg/azext_amg/tests/latest/recordings/test_api_key_e2e.yaml index 4607cdbb8b..d9c065120d 100644 --- a/src/amg/azext_amg/tests/latest/recordings/test_api_key_e2e.yaml +++ b/src/amg/azext_amg/tests/latest/recordings/test_api_key_e2e.yaml @@ -20,29 +20,29 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T18:31:07.5041083Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T18:31:07.5041083Z"},"identity":{"principalId":"317480eb-b616-4fa7-941b-c0156e74a463","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.7155255Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.7155255Z"},"identity":{"principalId":"2218eee3-434e-43c1-a202-10bd63d99133","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview cache-control: - no-cache content-length: - - '1074' + - '1106' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:31:08 GMT + - Mon, 23 Jan 2023 00:08:47 GMT etag: - - '"0000343a-0000-0600-0000-638b95ec0000"' + - '"00000e28-0000-0600-0000-63cdd00f0000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview pragma: - no-cache request-context: @@ -74,10 +74,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:31:38 GMT + - Mon, 23 Jan 2023 00:09:17 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -120,10 +120,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -132,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:32:08 GMT + - Mon, 23 Jan 2023 00:09:48 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -166,10 +166,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -178,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:32:39 GMT + - Mon, 23 Jan 2023 00:10:17 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -212,10 +212,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:33:09 GMT + - Mon, 23 Jan 2023 00:10:47 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -258,10 +258,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -270,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:33:39 GMT + - Mon, 23 Jan 2023 00:11:17 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -304,10 +304,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -316,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:34:09 GMT + - Mon, 23 Jan 2023 00:11:47 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -350,10 +350,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -362,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:34:39 GMT + - Mon, 23 Jan 2023 00:12:18 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -396,10 +396,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -408,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:35:09 GMT + - Mon, 23 Jan 2023 00:12:48 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -442,10 +442,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2023-01-23T00:08:47.8115562Z"}' headers: cache-control: - no-cache @@ -454,9 +454,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:35:39 GMT + - Mon, 23 Jan 2023 00:13:18 GMT etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' + - '"44008cb4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -488,102 +488,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' - headers: - cache-control: - - no-cache - content-length: - - '513' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:36:09 GMT - etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' - 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 - User-Agent: - - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Accepted","startTime":"2022-12-03T18:31:08.6837205Z"}' - headers: - cache-control: - - no-cache - content-length: - - '513' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 18:36:40 GMT - etag: - - '"0000330a-0000-0600-0000-638b95ec0000"' - 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 - User-Agent: - - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","name":"66246874-d7ff-4c49-a632-021d32fd20e6*08891A29A8E823E2FB9B22CB9FBB10685F4BD5BB64FE28CAC83E69CD600A2B64","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Succeeded","startTime":"2022-12-03T18:31:08.6837205Z","endTime":"2022-12-03T18:37:03.7964664Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","name":"8243b5de-1a4e-4b62-a8ed-9bdac1ce3d03*358140F7AB30FA334892926AE3A2A90A8052CB47AD63544AB6E883B51F67276F","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","status":"Succeeded","startTime":"2023-01-23T00:08:47.8115562Z","endTime":"2023-01-23T00:13:22.7604679Z","error":{},"properties":null}' headers: cache-control: - no-cache @@ -592,9 +500,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:10 GMT + - Mon, 23 Jan 2023 00:13:48 GMT etag: - - '"0000340a-0000-0600-0000-638b974f0000"' + - '"440051bf-0000-0600-0000-63cdd1220000"' expires: - '-1' pragma: @@ -626,10 +534,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T18:31:07.5041083Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T18:31:07.5041083Z"},"identity":{"principalId":"317480eb-b616-4fa7-941b-c0156e74a463","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.7155255Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.7155255Z"},"identity":{"principalId":"2218eee3-434e-43c1-a202-10bd63d99133","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache @@ -638,9 +546,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:10 GMT + - Mon, 23 Jan 2023 00:13:48 GMT etag: - - '"00004d3a-0000-0600-0000-638b974f0000"' + - '"00001b28-0000-0600-0000-63cdd1220000"' expires: - '-1' pragma: @@ -676,9 +584,9 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"a30db067-cde1-49be-95bb-9619a8cc8617","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"b30411f5-fea1-4a59-9ad9-3db7c7ead579"},{"disabledPlans":[],"skuId":"4a51bf65-409c-4a91-b845-1121b571cc9d"},{"disabledPlans":["c815c93d-0759-4bb8-b857-bc921a71be83","7162bd38-edae-4022-83a7-c5837f951759","b622badb-1b45-48d5-920f-4b27a2c0996c","b74d57b2-58e9-484a-9731-aeccbba954f0"],"skuId":"61902246-d7cb-453e-85cd-53ee28eec138"},{"disabledPlans":["b76fb638-6ba6-402a-b9f9-83d28acb3d86","cd31b152-6326-4d1b-ae1b-997b625182e6","a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["b622badb-1b45-48d5-920f-4b27a2c0996c"],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"f30db892-07e9-47e9-837c-80727f46fd3d"},{"disabledPlans":[],"skuId":"34715a50-7d92-426f-99e9-f815e0ae1de5"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"6ea4c1ef-c259-46df-bce2-943342cd3cb2"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"74d93933-6f22-436e-9441-66d205435abb"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"91f50f7b-2204-4803-acac-5cf5668b8b39"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"dc789ed8-0170-4b65-a415-eb77d5bb350a"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"ea2cf03b-ac60-46ae-9c1d-eeaeb63cec86"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"c5002c70-f725-4367-b409-f0eff4fee6c0"},{"assignedTimestamp":"2022-11-09T23:14:02Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"60bf28f9-2b70-4522-96f7-335f5e06c941"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Viva-Goals","servicePlanId":"b44c6eaf-5c9f-478c-8f16-8cea26353bfb"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Modern-Workplace-Core-ITaas","servicePlanId":"9a6eeb79-0b4b-4bf0-9808-39d99a2cd5a3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"fe47a034-ab6d-4cb4-bdb4-9551354b177e"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"2d589a15-b171-4e61-9b5f-31d15eeb2872"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"59231cdf-b40d-4534-a93e-14d0cd31d27e"},{"assignedTimestamp":"2021-04-15T15:12:57Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T01:12:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-11-03T16:30:18Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-08-14T15:32:15Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2019-11-04T20:01:59Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-11-30T00:32:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"5a10155d-f5c1-411a-a8ec-e99aae125390"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"2125cfd7-2110-4567-83c4-c1cd5275163d"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"c4048e79-4474-4c74-ba9b-c31ff225e511"},{"assignedTimestamp":"2018-03-20T02:14:40Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-01-09T10:35:29Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2017-12-31T03:27:36Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-17T18:29:20Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"ProcessSimple","servicePlanId":"76846ad7-7776-4c40-a281-a386362dd1b9"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"PowerAppsService","servicePlanId":"c68f8d98-5534-41c8-bf36-22fa496fa792"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"9e700747-8b1d-45e5-ab8d-ef187ceec156"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"2789c901-c14e-48ab-a76a-be334d9d793a"},{"assignedTimestamp":"2017-07-06T19:19:57Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-06-12T08:23:48Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-05-12T23:33:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Deleted","service":"AzureAnalysis","servicePlanId":"2049e525-b859-401b-b2a0-e0a31c4b1fe4"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2016-12-19T03:16:33Z","capabilityStatus":"Deleted","service":"PowerBI","servicePlanId":"fc0a60aa-feee-4746-a0e3-aecfe81a38dd"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2012-10-10T07:21:11Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2015-07-30T06:17:13Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"27216c54-caf8-4d0d-97e2-517afb5c08f6"}],"city":"REDMOND","companyName":"Microsoft","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Azure + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"a30db067-cde1-49be-95bb-9619a8cc8617","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"b30411f5-fea1-4a59-9ad9-3db7c7ead579"},{"disabledPlans":[],"skuId":"4a51bf65-409c-4a91-b845-1121b571cc9d"},{"disabledPlans":["c815c93d-0759-4bb8-b857-bc921a71be83","7162bd38-edae-4022-83a7-c5837f951759","b622badb-1b45-48d5-920f-4b27a2c0996c","b74d57b2-58e9-484a-9731-aeccbba954f0"],"skuId":"61902246-d7cb-453e-85cd-53ee28eec138"},{"disabledPlans":["b76fb638-6ba6-402a-b9f9-83d28acb3d86","cd31b152-6326-4d1b-ae1b-997b625182e6","a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["b622badb-1b45-48d5-920f-4b27a2c0996c"],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"f30db892-07e9-47e9-837c-80727f46fd3d"},{"disabledPlans":[],"skuId":"34715a50-7d92-426f-99e9-f815e0ae1de5"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"6ea4c1ef-c259-46df-bce2-943342cd3cb2"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"74d93933-6f22-436e-9441-66d205435abb"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"91f50f7b-2204-4803-acac-5cf5668b8b39"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"dc789ed8-0170-4b65-a415-eb77d5bb350a"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"ea2cf03b-ac60-46ae-9c1d-eeaeb63cec86"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"c5002c70-f725-4367-b409-f0eff4fee6c0"},{"assignedTimestamp":"2022-11-09T23:14:02Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"60bf28f9-2b70-4522-96f7-335f5e06c941"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Viva-Goals","servicePlanId":"b44c6eaf-5c9f-478c-8f16-8cea26353bfb"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Modern-Workplace-Core-ITaas","servicePlanId":"9a6eeb79-0b4b-4bf0-9808-39d99a2cd5a3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"fe47a034-ab6d-4cb4-bdb4-9551354b177e"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"2d589a15-b171-4e61-9b5f-31d15eeb2872"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"59231cdf-b40d-4534-a93e-14d0cd31d27e"},{"assignedTimestamp":"2021-04-15T15:12:57Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T01:12:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-11-03T16:30:18Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-08-14T15:32:15Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2019-11-04T20:01:59Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-11-30T00:32:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"5a10155d-f5c1-411a-a8ec-e99aae125390"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"2125cfd7-2110-4567-83c4-c1cd5275163d"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"c4048e79-4474-4c74-ba9b-c31ff225e511"},{"assignedTimestamp":"2018-03-20T02:14:40Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-01-09T10:35:29Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2017-12-31T03:27:36Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-17T18:29:20Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"ProcessSimple","servicePlanId":"76846ad7-7776-4c40-a281-a386362dd1b9"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"PowerAppsService","servicePlanId":"c68f8d98-5534-41c8-bf36-22fa496fa792"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"9e700747-8b1d-45e5-ab8d-ef187ceec156"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"2789c901-c14e-48ab-a76a-be334d9d793a"},{"assignedTimestamp":"2017-07-06T19:19:57Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-06-12T08:23:48Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-05-12T23:33:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Deleted","service":"AzureAnalysis","servicePlanId":"2049e525-b859-401b-b2a0-e0a31c4b1fe4"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2016-12-19T03:16:33Z","capabilityStatus":"Deleted","service":"PowerBI","servicePlanId":"fc0a60aa-feee-4746-a0e3-aecfe81a38dd"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2012-10-10T07:21:11Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2015-07-30T06:17:13Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"27216c54-caf8-4d0d-97e2-517afb5c08f6"}],"city":"REDMOND","companyName":"Microsoft","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Azure Dev Exp","dirSyncEnabled":true,"displayName":"Yugang Wang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Yugang","immutableId":"138058","isCompromised":null,"jobTitle":"PRINCIPAL - SWE MANAGER","lastDirSyncTime":"2022-09-29T00:42:51Z","legalAgeGroupClassification":null,"mail":"example@example.com","mailNickname":"yugangw","mobile":null,"onPremisesDistinguishedName":"CN=Yugang + SWE MANAGER","lastDirSyncTime":"2023-01-20T00:31:36Z","legalAgeGroupClassification":null,"mail":"example@example.com","mailNickname":"yugangw","mobile":null,"onPremisesDistinguishedName":"CN=Yugang Wang,OU=MSE,OU=Users,OU=CoreIdentity,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-415191","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"18/3700FL","postalCode":null,"preferredLanguage":null,"provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"Netbreeze"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"}],"provisioningErrors":[],"proxyAddresses":["X500:/O=Nokia/OU=HUB/cn=Recipients/cn=yugangw","X500:/o=SDF/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=sdflabs.com-51490-Yugang Wang (Volt)e3d6fb0c","X500:/o=microsoft/ou=northamerica/cn=Recipients/cn=572513","X500:/o=microsoft/ou=First @@ -701,25 +609,25 @@ interactions: cache-control: - no-cache content-length: - - '24836' + - '25292' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Sat, 03 Dec 2022 18:37:10 GMT + - Mon, 23 Jan 2023 00:13:49 GMT duration: - - '1794688' + - '1552321' expires: - '-1' ocp-aad-diagnostics-server-name: - - QtHkfRY3qvzCTvXrtqU2VI1Vnl7QlDUsK/8TdqSeb+g= + - K9WzdHJOg5LseP2vL/irNO9xPyvDqDMl1F0E/ytfJc4= ocp-aad-session-key: - - weQZ8juLNBIIB2hC9X6GauQO9Pio6VE4_hiF-4YP8wuTGmsI5Vad1C8Ge4ynXVNKbYFbivUpAT7910EN5O-uLZhmevUiYoKuIoxsqQqqRKM1i5jX6OhLwSihOAXkcQzI.LyQdM-93B__9GWWDEtDok-rRlAfeMbBPcmj7G4LlBXA + - 0gDg9g02JZwxvtq_uA9JpQbkE-yPyCThWfyAjjzML3zvoaOQEWEcxkDnFwGLYgHLP2AHl7ETxHYQGxjC17ORDkVz2wIsixP-Zo3fBN4RImTeB7KorN0vtBg5UbXIzcin.9qmGRcdprFZYMfbNo4dMgP31FFt8ubXxguHOFRyWn8o pragma: - no-cache request-id: - - 6cbe7d0b-f870-471b-b86c-0ded43e8afbb + - 23fdac3f-d225-4876-9979-cac50c7a1407 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -765,7 +673,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:10 GMT + - Mon, 23 Jan 2023 00:13:49 GMT expires: - '-1' pragma: @@ -810,7 +718,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?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":"a30db067-cde1-49be-95bb-9619a8cc8617","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T18:37:11.6348467Z","updatedOn":"2022-12-03T18:37:12.0567372Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","principalId":"a30db067-cde1-49be-95bb-9619a8cc8617","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:50.5261279Z","updatedOn":"2023-01-23T00:13:50.9323848Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -819,7 +727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:13 GMT + - Mon, 23 Jan 2023 00:13:52 GMT expires: - '-1' pragma: @@ -858,7 +766,7 @@ interactions: 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":[],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-09-06T15:18:41.7429165Z","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"}]}' + read all monitoring data.","assignableScopes":["/"],"permissions":[{"actions":["*/read","Microsoft.OperationalInsights/workspaces/search/action","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-09-06T17:20:40.5763144Z","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 @@ -867,7 +775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:13 GMT + - Mon, 23 Jan 2023 00:13:53 GMT expires: - '-1' pragma: @@ -887,7 +795,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05", - "principalId": "317480eb-b616-4fa7-941b-c0156e74a463"}}' + "principalId": "2218eee3-434e-43c1-a202-10bd63d99133"}}' headers: Accept: - application/json @@ -912,7 +820,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?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":"317480eb-b616-4fa7-941b-c0156e74a463","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T18:37:14.8180571Z","updatedOn":"2022-12-03T18:37:15.4274962Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"2218eee3-434e-43c1-a202-10bd63d99133","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:53.4408385Z","updatedOn":"2023-01-23T00:13:53.8783158Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -921,7 +829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:20 GMT + - Mon, 23 Jan 2023 00:13:55 GMT expires: - '-1' pragma: @@ -953,10 +861,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T18:31:07.5041083Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T18:31:07.5041083Z"},"identity":{"principalId":"317480eb-b616-4fa7-941b-c0156e74a463","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.7155255Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.7155255Z"},"identity":{"principalId":"2218eee3-434e-43c1-a202-10bd63d99133","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache @@ -965,9 +873,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:20 GMT + - Mon, 23 Jan 2023 00:13:55 GMT etag: - - '"00004d3a-0000-0600-0000-638b974f0000"' + - '"00001b28-0000-0600-0000-63cdd1220000"' expires: - '-1' pragma: @@ -988,8 +896,9 @@ interactions: - request: body: '{"sku": {"name": "Standard"}, "properties": {"publicNetworkAccess": "Enabled", "zoneRedundancy": "Disabled", "apiKey": "Enabled", "deterministicOutboundIP": - "Disabled", "autoGeneratedDomainNameLabelScope": "TenantReuse"}, "identity": - {"type": "SystemAssigned"}, "tags": {}, "location": "westcentralus"}' + "Disabled", "autoGeneratedDomainNameLabelScope": "TenantReuse", "grafanaIntegrations": + {"azureMonitorWorkspaceIntegrations": []}}, "identity": {"type": "SystemAssigned"}, + "tags": {}, "location": "westcentralus"}' headers: Accept: - application/json @@ -1000,7 +909,7 @@ interactions: Connection: - keep-alive Content-Length: - - '302' + - '368' Content-Type: - application/json ParameterSetName: @@ -1008,23 +917,23 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T18:31:07.5041083Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T18:37:21.4017072Z"},"identity":{"principalId":"317480eb-b616-4fa7-941b-c0156e74a463","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.7155255Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:13:56.4707357Z"},"identity":{"principalId":"2218eee3-434e-43c1-a202-10bd63d99133","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview cache-control: - no-cache content-length: - - '1043' + - '1111' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:23 GMT + - Mon, 23 Jan 2023 00:13:56 GMT etag: - - '"0000583a-0000-0600-0000-638b97620000"' + - '"00001c28-0000-0600-0000-63cdd1450000"' expires: - '-1' pragma: @@ -1042,7 +951,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1062,21 +971,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T18:31:07.5041083Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T18:37:21.4017072Z"},"identity":{"principalId":"317480eb-b616-4fa7-941b-c0156e74a463","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestamgapikey","name":"clitestamgapikey","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.7155255Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:13:56.4707357Z"},"identity":{"principalId":"2218eee3-434e-43c1-a202-10bd63d99133","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: cache-control: - no-cache content-length: - - '1043' + - '1111' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 18:37:23 GMT + - Mon, 23 Jan 2023 00:13:58 GMT etag: - - '"0000583a-0000-0600-0000-638b97620000"' + - '"00001c28-0000-0600-0000-63cdd1450000"' expires: - '-1' pragma: @@ -1124,7 +1033,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:26 GMT + - Mon, 23 Jan 2023 00:13:59 GMT expires: - '-1' pragma: @@ -1132,14 +1041,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092645.902.309.969929|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432839.301.31.133693|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1164,7 +1073,7 @@ interactions: uri: https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com/api/auth/keys response: body: - string: '{"id":1,"name":"apikey1","key":"eyJrIjoiNzA3RmhLSHNadnFCbG5kdnBQTXNyMWRnWUVWOXlLaUIiLCJuIjoiYXBpa2V5MSIsImlkIjoxfQ=="}' + string: '{"id":1,"name":"apikey1","key":"eyJrIjoicWxON0ZTYVlwaEQ4OGZVWTc2bEdScHVvYkFyUjIxZG8iLCJuIjoiYXBpa2V5MSIsImlkIjoxfQ=="}' headers: cache-control: - no-cache @@ -1177,7 +1086,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:27 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -1185,14 +1094,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092647.791.316.806162|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432840.618.29.177110|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1217,7 +1126,7 @@ interactions: uri: https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com/api/auth/keys response: body: - string: '{"id":2,"name":"apikey2","key":"eyJrIjoiejJ5UzJQR3dNbkxuWG1GOXRoM1hqZVJhR2YzWGI1aHQiLCJuIjoiYXBpa2V5MiIsImlkIjoxfQ=="}' + string: '{"id":2,"name":"apikey2","key":"eyJrIjoiU29XSzJjR1lOMDNrd3U1NTRkbXZMdEttZUFrdHAyTE8iLCJuIjoiYXBpa2V5MiIsImlkIjoxfQ=="}' headers: cache-control: - no-cache @@ -1230,7 +1139,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:27 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -1238,14 +1147,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092648.687.307.109219|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432842.648.30.453242|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1268,7 +1177,7 @@ interactions: uri: https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com/api/auth/keys?includedExpired=false&accesscontrol=true response: body: - string: '[{"id":1,"name":"apikey1","role":"Admin","expiration":"2022-12-06T18:37:27Z"},{"id":2,"name":"apikey2","role":"Viewer","expiration":"2022-12-04T18:37:27Z"}]' + string: '[{"id":1,"name":"apikey1","role":"Admin","expiration":"2023-01-26T00:14:01Z"},{"id":2,"name":"apikey2","role":"Viewer","expiration":"2023-01-24T00:14:01Z"}]' headers: cache-control: - no-cache @@ -1281,7 +1190,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:28 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -1289,14 +1198,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092648.988.310.569867|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432843.228.27.829351|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1319,7 +1228,7 @@ interactions: uri: https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com/api/auth/keys?includedExpired=false&accesscontrol=true response: body: - string: '[{"id":1,"name":"apikey1","role":"Admin","expiration":"2022-12-06T18:37:27Z"},{"id":2,"name":"apikey2","role":"Viewer","expiration":"2022-12-04T18:37:27Z"}]' + string: '[{"id":1,"name":"apikey1","role":"Admin","expiration":"2023-01-26T00:14:01Z"},{"id":2,"name":"apikey2","role":"Viewer","expiration":"2023-01-24T00:14:01Z"}]' headers: cache-control: - no-cache @@ -1332,7 +1241,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:28 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -1340,14 +1249,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092649.257.313.21154|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432843.547.31.4215|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1385,7 +1294,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:29 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -1393,14 +1302,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092649.97.307.936503|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432843.718.29.70023|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1423,84 +1332,36 @@ interactions: uri: https://clitestamgapikey-etcge6b7emaecdaa.wcus.grafana.azure.com/api/search?type=dash-db response: body: - string: '[{"id":17,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":20,"uid":"54KhiZ7nz","title":"AKS - Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":14,"uid":"6uRDjTNnz","title":"App - Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":10,"uid":"dyzn5SK7z","title":"Azure + string: '[{"id":19,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":21,"uid":"54KhiZ7nz","title":"AKS + Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":15,"uid":"6uRDjTNnz","title":"App + Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"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":4,"uid":"Yo38mcvnz","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":8,"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":5,"uid":"AppInsightsAvTestGeoMap","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"uid":"AppInsightsAvTestGeoMap","title":"Azure / Insights / Applications Test Availability Geo Map","uri":"db/azure-insights-applications-test-availability-geo-map","url":"/d/AppInsightsAvTestGeoMap/azure-insights-applications-test-availability-geo-map","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":"INH9berMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":11,"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":7,"uid":"8UDB1s3Gk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":4,"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":8,"uid":"tQZAMYrMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"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 + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"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":3,"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":11,"uid":"AzVmInsightsByWS","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":7,"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":2,"uid":"Mtwt2BV7k","title":"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":21,"uid":"xLERdASnz","title":"Cluster - Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":25,"uid":"vkQ0UHxiddk","title":"CoreDNS","uri":"db/coredns","url":"/d/vkQ0UHxiddk/coredns","slug":"","type":"dash-db","tags":["coredns-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":22,"uid":"QTVw7iK7z","title":"Geneva - Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":13,"uid":"icm-example","title":"IcM - Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":15,"uid":"sVKyjvpnz","title":"Incoming - Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":26,"uid":"09ec8aa1e996d6ffcd6817bbaff4db1b","title":"Kubernetes - / API server","uri":"db/kubernetes-api-server","url":"/d/09ec8aa1e996d6ffcd6817bbaff4db1b/kubernetes-api-server","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":27,"uid":"efa86fd1d0c121a26444b636a3f509a8","title":"Kubernetes - / Compute Resources / Cluster","uri":"db/kubernetes-compute-resources-cluster","url":"/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":28,"uid":"85a562078cdf77779eaa1add43ccec1e","title":"Kubernetes - / Compute Resources / Namespace (Pods)","uri":"db/kubernetes-compute-resources-namespace-pods","url":"/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":29,"uid":"a87fb0d919ec0ea5f6543124e16c42a5","title":"Kubernetes - / Compute Resources / Namespace (Workloads)","uri":"db/kubernetes-compute-resources-namespace-workloads","url":"/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":30,"uid":"200ac8fdbfbb74b39aff88118e4d1c2c","title":"Kubernetes - / Compute Resources / Node (Pods)","uri":"db/kubernetes-compute-resources-node-pods","url":"/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":31,"uid":"6581e46e4e5c7ba40a07646395ef7b23","title":"Kubernetes - / Compute Resources / Pod","uri":"db/kubernetes-compute-resources-pod","url":"/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":32,"uid":"a164a7f0339f99e89cea5cb47e9be617","title":"Kubernetes - / Compute Resources / Workload","uri":"db/kubernetes-compute-resources-workload","url":"/d/a164a7f0339f99e89cea5cb47e9be617/kubernetes-compute-resources-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":33,"uid":"3138fa155d5915769fbded898ac09ff9","title":"Kubernetes - / Kubelet","uri":"db/kubernetes-kubelet","url":"/d/3138fa155d5915769fbded898ac09ff9/kubernetes-kubelet","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":34,"uid":"ff635a025bcfea7bc3dd4f508990a3e9","title":"Kubernetes - / Networking / Cluster","uri":"db/kubernetes-networking-cluster","url":"/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":35,"uid":"8b7a8b326d7a6f1f04244066368c67af","title":"Kubernetes - / Networking / Namespace (Pods)","uri":"db/kubernetes-networking-namespace-pods","url":"/d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":36,"uid":"bbb2a765a623ae38130206c7d94a160f","title":"Kubernetes - / Networking / Namespace (Workload)","uri":"db/kubernetes-networking-namespace-workload","url":"/d/bbb2a765a623ae38130206c7d94a160f/kubernetes-networking-namespace-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":37,"uid":"7a18067ce943a40ae25454675c19ff5c","title":"Kubernetes - / Networking / Pod","uri":"db/kubernetes-networking-pod","url":"/d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":38,"uid":"728bf77cc1166d2f3133bf25846876cc","title":"Kubernetes - / Networking / Workload","uri":"db/kubernetes-networking-workload","url":"/d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":39,"uid":"919b92a8e8041bd567af9edab12c840c","title":"Kubernetes - / Persistent Volumes","uri":"db/kubernetes-persistent-volumes","url":"/d/919b92a8e8041bd567af9edab12c840c/kubernetes-persistent-volumes","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":40,"uid":"632e265de029684c40b21cb76bca4f94","title":"Kubernetes - / Proxy","uri":"db/kubernetes-proxy","url":"/d/632e265de029684c40b21cb76bca4f94/kubernetes-proxy","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":41,"uid":"F4bizNZ7k","title":"Kubernetes - / StatefulSets","uri":"db/kubernetes-statefulsets","url":"/d/F4bizNZ7k/kubernetes-statefulsets","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":45,"uid":"VESDBJS7k","title":"Kubernetes - / USE Method / Cluster(Windows)","uri":"db/kubernetes-use-method-cluster-windows","url":"/d/VESDBJS7k/kubernetes-use-method-cluster-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":46,"uid":"YCBDf1I7k","title":"Kubernetes - / USE Method / Node(Windows)","uri":"db/kubernetes-use-method-node-windows","url":"/d/YCBDf1I7k/kubernetes-use-method-node-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":16,"uid":"_sKhXTH7z","title":"Node - Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":42,"uid":"D4pVsnCGz","title":"Nodes - (Node exporter)","uri":"db/nodes-node-exporter","url":"/d/D4pVsnCGz/nodes-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":23,"uid":"6naEwcp7z","title":"Outgoing - Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":47,"uid":"UskST-Snz","title":"Prometheus-Collector - Health","uri":"db/prometheus-collector-health","url":"/d/UskST-Snz/prometheus-collector-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":18,"uid":"GIgvhSV7z","title":"Service - Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":43,"uid":"VdrOA7jGz","title":"USE - Method / Cluster (Node exporter)","uri":"db/use-method-cluster-node-exporter","url":"/d/VdrOA7jGz/use-method-cluster-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":44,"uid":"t5ajanjMk","title":"USE - Method / Node (Node exporter)","uri":"db/use-method-node-node-exporter","url":"/d/t5ajanjMk/use-method-node-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":19,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":16,"uid":"xLERdASnz","title":"Cluster + Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":17,"uid":"QTVw7iK7z","title":"Geneva + Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":20,"uid":"icm-example","title":"IcM + Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":22,"uid":"sVKyjvpnz","title":"Incoming + Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":23,"uid":"_sKhXTH7z","title":"Node + Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":13,"uid":"6naEwcp7z","title":"Outgoing + Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":18,"uid":"GIgvhSV7z","title":"Service + Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":14,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' headers: cache-control: - no-cache @@ -1511,7 +1372,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 18:37:29 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -1519,8 +1380,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670092650.273.311.433276|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432843.997.28.631986|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: @@ -1528,7 +1389,7 @@ interactions: x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: diff --git a/src/amg/azext_amg/tests/latest/recordings/test_service_account_e2e.yaml b/src/amg/azext_amg/tests/latest/recordings/test_service_account_e2e.yaml index b6a8c3a449..6c4b5943e4 100644 --- a/src/amg/azext_amg/tests/latest/recordings/test_service_account_e2e.yaml +++ b/src/amg/azext_amg/tests/latest/recordings/test_service_account_e2e.yaml @@ -20,29 +20,29 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:14:35.6262799Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:14:35.6262799Z"},"identity":{"principalId":"334fb75f-aec3-4e29-b5dc-672ed69e5d6d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.65194Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.65194Z"},"identity":{"principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","grafanaVersion":null,"endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview cache-control: - no-cache content-length: - - '1089' + - '1117' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:14:37 GMT + - Mon, 23 Jan 2023 00:08:47 GMT etag: - - '"0000a739-0000-0600-0000-638b83fd0000"' + - '"00000f28-0000-0600-0000-63cdd0100000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + - https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview pragma: - no-cache request-context: @@ -74,10 +74,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:15:07 GMT + - Mon, 23 Jan 2023 00:09:18 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -120,10 +120,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -132,9 +132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:15:37 GMT + - Mon, 23 Jan 2023 00:09:48 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -166,10 +166,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -178,9 +178,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:16:07 GMT + - Mon, 23 Jan 2023 00:10:18 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -212,10 +212,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:16:37 GMT + - Mon, 23 Jan 2023 00:10:47 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -258,10 +258,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -270,9 +270,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:17:07 GMT + - Mon, 23 Jan 2023 00:11:17 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -304,10 +304,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -316,9 +316,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:17:37 GMT + - Mon, 23 Jan 2023 00:11:48 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -350,10 +350,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -362,9 +362,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:18:07 GMT + - Mon, 23 Jan 2023 00:12:18 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -396,10 +396,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -408,9 +408,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:18:38 GMT + - Mon, 23 Jan 2023 00:12:48 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -442,10 +442,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2023-01-23T00:08:47.9779016Z"}' headers: cache-control: - no-cache @@ -454,9 +454,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:19:08 GMT + - Mon, 23 Jan 2023 00:13:18 GMT etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' + - '"44008db4-0000-0600-0000-63cdd00f0000"' expires: - '-1' pragma: @@ -488,102 +488,10 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 + uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8?api-version=2022-10-01-preview response: body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' - headers: - cache-control: - - no-cache - content-length: - - '518' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 17:19:38 GMT - etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' - 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 - User-Agent: - - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Accepted","startTime":"2022-12-03T17:14:36.8084779Z"}' - headers: - cache-control: - - no-cache - content-length: - - '518' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 03 Dec 2022 17:20:08 GMT - etag: - - '"0000030a-0000-0600-0000-638b83fc0000"' - 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 - User-Agent: - - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0?api-version=2022-08-01 - response: - body: - string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","name":"83993adb-ebb8-4053-932a-05462f7c437f*EEEB6B9C4A564B6D12DC41EEAC410E4DD2F230309B5064102CE2B8902F56FBB0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Succeeded","startTime":"2022-12-03T17:14:36.8084779Z","endTime":"2022-12-03T17:20:26.8516775Z","error":{},"properties":null}' + string: '{"id":"/providers/Microsoft.Dashboard/locations/WESTCENTRALUS/operationStatuses/86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","name":"86e49705-d2a5-42fa-ac06-0e42ba7045fe*938EC86DCD58AB72B07434C7145A6C08156AF28E4F96385597867E63A50D84E8","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","status":"Succeeded","startTime":"2023-01-23T00:08:47.9779016Z","endTime":"2023-01-23T00:13:20.5272315Z","error":{},"properties":null}' headers: cache-control: - no-cache @@ -592,9 +500,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:38 GMT + - Mon, 23 Jan 2023 00:13:48 GMT etag: - - '"0000060a-0000-0600-0000-638b855a0000"' + - '"440041bf-0000-0600-0000-63cdd1200000"' expires: - '-1' pragma: @@ -626,21 +534,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:14:35.6262799Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:14:35.6262799Z"},"identity":{"principalId":"334fb75f-aec3-4e29-b5dc-672ed69e5d6d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.65194Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.65194Z"},"identity":{"principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache content-length: - - '1042' + - '1038' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:38 GMT + - Mon, 23 Jan 2023 00:13:48 GMT etag: - - '"0000b139-0000-0600-0000-638b855a0000"' + - '"00001928-0000-0600-0000-63cdd1200000"' expires: - '-1' pragma: @@ -676,9 +584,9 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"a30db067-cde1-49be-95bb-9619a8cc8617","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"b30411f5-fea1-4a59-9ad9-3db7c7ead579"},{"disabledPlans":[],"skuId":"4a51bf65-409c-4a91-b845-1121b571cc9d"},{"disabledPlans":["c815c93d-0759-4bb8-b857-bc921a71be83","7162bd38-edae-4022-83a7-c5837f951759","b622badb-1b45-48d5-920f-4b27a2c0996c","b74d57b2-58e9-484a-9731-aeccbba954f0"],"skuId":"61902246-d7cb-453e-85cd-53ee28eec138"},{"disabledPlans":["b76fb638-6ba6-402a-b9f9-83d28acb3d86","cd31b152-6326-4d1b-ae1b-997b625182e6","a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["b622badb-1b45-48d5-920f-4b27a2c0996c"],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"f30db892-07e9-47e9-837c-80727f46fd3d"},{"disabledPlans":[],"skuId":"34715a50-7d92-426f-99e9-f815e0ae1de5"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2022-11-23T02:23:51Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"6ea4c1ef-c259-46df-bce2-943342cd3cb2"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"74d93933-6f22-436e-9441-66d205435abb"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"91f50f7b-2204-4803-acac-5cf5668b8b39"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"dc789ed8-0170-4b65-a415-eb77d5bb350a"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"ea2cf03b-ac60-46ae-9c1d-eeaeb63cec86"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"c5002c70-f725-4367-b409-f0eff4fee6c0"},{"assignedTimestamp":"2022-11-09T23:14:02Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"60bf28f9-2b70-4522-96f7-335f5e06c941"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Viva-Goals","servicePlanId":"b44c6eaf-5c9f-478c-8f16-8cea26353bfb"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Modern-Workplace-Core-ITaas","servicePlanId":"9a6eeb79-0b4b-4bf0-9808-39d99a2cd5a3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"fe47a034-ab6d-4cb4-bdb4-9551354b177e"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"2d589a15-b171-4e61-9b5f-31d15eeb2872"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"59231cdf-b40d-4534-a93e-14d0cd31d27e"},{"assignedTimestamp":"2021-04-15T15:12:57Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T01:12:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-11-03T16:30:18Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-08-14T15:32:15Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2019-11-04T20:01:59Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-11-30T00:32:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"5a10155d-f5c1-411a-a8ec-e99aae125390"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"2125cfd7-2110-4567-83c4-c1cd5275163d"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"c4048e79-4474-4c74-ba9b-c31ff225e511"},{"assignedTimestamp":"2018-03-20T02:14:40Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-01-09T10:35:29Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2017-12-31T03:27:36Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-17T18:29:20Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"ProcessSimple","servicePlanId":"76846ad7-7776-4c40-a281-a386362dd1b9"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"PowerAppsService","servicePlanId":"c68f8d98-5534-41c8-bf36-22fa496fa792"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"9e700747-8b1d-45e5-ab8d-ef187ceec156"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"2789c901-c14e-48ab-a76a-be334d9d793a"},{"assignedTimestamp":"2017-07-06T19:19:57Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-06-12T08:23:48Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-05-12T23:33:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Deleted","service":"AzureAnalysis","servicePlanId":"2049e525-b859-401b-b2a0-e0a31c4b1fe4"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2016-12-19T03:16:33Z","capabilityStatus":"Deleted","service":"PowerBI","servicePlanId":"fc0a60aa-feee-4746-a0e3-aecfe81a38dd"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2012-10-10T07:21:11Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2015-07-30T06:17:13Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"27216c54-caf8-4d0d-97e2-517afb5c08f6"}],"city":"REDMOND","companyName":"Microsoft","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Azure + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"a30db067-cde1-49be-95bb-9619a8cc8617","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"b30411f5-fea1-4a59-9ad9-3db7c7ead579"},{"disabledPlans":[],"skuId":"4a51bf65-409c-4a91-b845-1121b571cc9d"},{"disabledPlans":["c815c93d-0759-4bb8-b857-bc921a71be83","7162bd38-edae-4022-83a7-c5837f951759","b622badb-1b45-48d5-920f-4b27a2c0996c","b74d57b2-58e9-484a-9731-aeccbba954f0"],"skuId":"61902246-d7cb-453e-85cd-53ee28eec138"},{"disabledPlans":["b76fb638-6ba6-402a-b9f9-83d28acb3d86","cd31b152-6326-4d1b-ae1b-997b625182e6","a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["b622badb-1b45-48d5-920f-4b27a2c0996c"],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"f30db892-07e9-47e9-837c-80727f46fd3d"},{"disabledPlans":[],"skuId":"34715a50-7d92-426f-99e9-f815e0ae1de5"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2023-01-21T00:10:05Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2022-12-14T02:55:00Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"6ea4c1ef-c259-46df-bce2-943342cd3cb2"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"74d93933-6f22-436e-9441-66d205435abb"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"91f50f7b-2204-4803-acac-5cf5668b8b39"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"dc789ed8-0170-4b65-a415-eb77d5bb350a"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"ea2cf03b-ac60-46ae-9c1d-eeaeb63cec86"},{"assignedTimestamp":"2022-11-15T23:13:29Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"c5002c70-f725-4367-b409-f0eff4fee6c0"},{"assignedTimestamp":"2022-11-09T23:14:02Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"60bf28f9-2b70-4522-96f7-335f5e06c941"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Viva-Goals","servicePlanId":"b44c6eaf-5c9f-478c-8f16-8cea26353bfb"},{"assignedTimestamp":"2022-08-07T02:18:34Z","capabilityStatus":"Enabled","service":"Modern-Workplace-Core-ITaas","servicePlanId":"9a6eeb79-0b4b-4bf0-9808-39d99a2cd5a3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"fe47a034-ab6d-4cb4-bdb4-9551354b177e"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"2d589a15-b171-4e61-9b5f-31d15eeb2872"},{"assignedTimestamp":"2022-03-06T07:12:31Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"59231cdf-b40d-4534-a93e-14d0cd31d27e"},{"assignedTimestamp":"2021-04-15T15:12:57Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T01:12:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-11-03T16:30:18Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-08-14T15:32:15Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2019-11-04T20:01:59Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T20:43:01Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-03-27T23:17:23Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-11-30T00:32:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-21T00:27:48Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"5a10155d-f5c1-411a-a8ec-e99aae125390"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-28T18:54:42Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"2125cfd7-2110-4567-83c4-c1cd5275163d"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T01:47:06Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"c4048e79-4474-4c74-ba9b-c31ff225e511"},{"assignedTimestamp":"2018-03-20T02:14:40Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-01-09T10:35:29Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2017-12-31T03:27:36Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-17T18:29:20Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"ProcessSimple","servicePlanId":"76846ad7-7776-4c40-a281-a386362dd1b9"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"PowerAppsService","servicePlanId":"c68f8d98-5534-41c8-bf36-22fa496fa792"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"9e700747-8b1d-45e5-ab8d-ef187ceec156"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-06T19:19:58Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"2789c901-c14e-48ab-a76a-be334d9d793a"},{"assignedTimestamp":"2017-07-06T19:19:57Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-06-12T08:23:48Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-05-12T23:33:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Deleted","service":"AzureAnalysis","servicePlanId":"2049e525-b859-401b-b2a0-e0a31c4b1fe4"},{"assignedTimestamp":"2017-01-26T08:02:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2016-12-19T03:16:33Z","capabilityStatus":"Deleted","service":"PowerBI","servicePlanId":"fc0a60aa-feee-4746-a0e3-aecfe81a38dd"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2016-11-18T18:51:08Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2012-10-10T07:21:11Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2015-07-30T06:17:13Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"27216c54-caf8-4d0d-97e2-517afb5c08f6"}],"city":"REDMOND","companyName":"Microsoft","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Azure Dev Exp","dirSyncEnabled":true,"displayName":"Yugang Wang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Yugang","immutableId":"138058","isCompromised":null,"jobTitle":"PRINCIPAL - SWE MANAGER","lastDirSyncTime":"2022-09-29T00:42:51Z","legalAgeGroupClassification":null,"mail":"example@example.com","mailNickname":"yugangw","mobile":null,"onPremisesDistinguishedName":"CN=Yugang + SWE MANAGER","lastDirSyncTime":"2023-01-20T00:31:36Z","legalAgeGroupClassification":null,"mail":"example@example.com","mailNickname":"yugangw","mobile":null,"onPremisesDistinguishedName":"CN=Yugang Wang,OU=MSE,OU=Users,OU=CoreIdentity,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-415191","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"18/3700FL","postalCode":null,"preferredLanguage":null,"provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"Netbreeze"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftOffice"}],"provisioningErrors":[],"proxyAddresses":["X500:/O=Nokia/OU=HUB/cn=Recipients/cn=yugangw","X500:/o=SDF/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=sdflabs.com-51490-Yugang Wang (Volt)e3d6fb0c","X500:/o=microsoft/ou=northamerica/cn=Recipients/cn=572513","X500:/o=microsoft/ou=First @@ -701,25 +609,25 @@ interactions: cache-control: - no-cache content-length: - - '24836' + - '25292' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Sat, 03 Dec 2022 17:20:38 GMT + - Mon, 23 Jan 2023 00:13:49 GMT duration: - - '4469195' + - '881512' expires: - '-1' ocp-aad-diagnostics-server-name: - - Egu1e9+kMou8n38apYzPx2J/rNr8ItujrmsIU0hPydk= + - YoufsihkmoaNG8AH4bi2QaSMElwWoKneYXNxs7KqNA4= ocp-aad-session-key: - - nlHG76aplVfAY928WG-LjVHHGowvLoTSikwDLQOFzw9hTPXHu66juCiUX7xCNsx30g4lWgEdvchvA3Sthr9TYjzH0xsjRzg5RUdOHgOCcqF-TYqwp6B9Qts2tnc-qbIi.HB3bKqfmiYz6hO6xxmWrUzVDCqy8oxhPQYNe6IhvSr8 + - 70srKplBrV_TzO9aU4kAysdRR9nfcf-M0visodn4aQv6Ju-q4zsWrdITIiGKoRD5m0DQEsXBmwQ5XmKMUXdYs48z7SdYS6-RlmVPHgU_1xoHG12oTbwooIvAFbGK4BOC.aIjrgGQWzDVG6GceDB-A7EqCG6HZGXsbrXmzXaJ4rnM pragma: - no-cache request-id: - - 00188388-794a-4984-b876-e0f1826d711a + - f0f5d9da-caa4-43be-88b6-5623c933bd1a strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -765,7 +673,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:39 GMT + - Mon, 23 Jan 2023 00:13:49 GMT expires: - '-1' pragma: @@ -810,7 +718,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?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":"a30db067-cde1-49be-95bb-9619a8cc8617","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T17:20:40.4047067Z","updatedOn":"2022-12-03T17:20:40.8890909Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41","principalId":"a30db067-cde1-49be-95bb-9619a8cc8617","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:50.5656992Z","updatedOn":"2023-01-23T00:13:51.0032752Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -819,7 +727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:43 GMT + - Mon, 23 Jan 2023 00:13:53 GMT expires: - '-1' pragma: @@ -858,7 +766,7 @@ interactions: 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":[],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-09-06T15:18:41.7429165Z","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"}]}' + read all monitoring data.","assignableScopes":["/"],"permissions":[{"actions":["*/read","Microsoft.OperationalInsights/workspaces/search/action","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2016-09-21T19:19:52.4939376Z","updatedOn":"2022-09-06T17:20:40.5763144Z","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 @@ -867,7 +775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:43 GMT + - Mon, 23 Jan 2023 00:13:53 GMT expires: - '-1' pragma: @@ -887,7 +795,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05", - "principalId": "334fb75f-aec3-4e29-b5dc-672ed69e5d6d"}}' + "principalId": "aafb2e5f-7616-4149-b6c4-e6559889206b"}}' headers: Accept: - application/json @@ -912,7 +820,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?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":"334fb75f-aec3-4e29-b5dc-672ed69e5d6d","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2022-12-03T17:20:44.5229432Z","updatedOn":"2022-12-03T17:20:44.9759731Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05","principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000","condition":null,"conditionVersion":null,"createdOn":"2023-01-23T00:13:54.0978762Z","updatedOn":"2023-01-23T00:13:54.6447544Z","createdBy":null,"updatedBy":"a30db067-cde1-49be-95bb-9619a8cc8617","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -921,7 +829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:47 GMT + - Mon, 23 Jan 2023 00:13:56 GMT expires: - '-1' pragma: @@ -953,21 +861,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:14:35.6262799Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:14:35.6262799Z"},"identity":{"principalId":"334fb75f-aec3-4e29-b5dc-672ed69e5d6d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.65194Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:08:46.65194Z"},"identity":{"principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Disabled","deterministicOutboundIP":"Disabled","grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]}}}' headers: cache-control: - no-cache content-length: - - '1042' + - '1038' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:47 GMT + - Mon, 23 Jan 2023 00:13:55 GMT etag: - - '"0000b139-0000-0600-0000-638b855a0000"' + - '"00001928-0000-0600-0000-63cdd1200000"' expires: - '-1' pragma: @@ -988,8 +896,9 @@ interactions: - request: body: '{"sku": {"name": "Standard"}, "properties": {"publicNetworkAccess": "Enabled", "zoneRedundancy": "Disabled", "apiKey": "Enabled", "deterministicOutboundIP": - "Disabled", "autoGeneratedDomainNameLabelScope": "TenantReuse"}, "identity": - {"type": "SystemAssigned"}, "tags": {}, "location": "westcentralus"}' + "Disabled", "autoGeneratedDomainNameLabelScope": "TenantReuse", "grafanaIntegrations": + {"azureMonitorWorkspaceIntegrations": []}}, "identity": {"type": "SystemAssigned"}, + "tags": {}, "location": "westcentralus"}' headers: Accept: - application/json @@ -1000,7 +909,7 @@ interactions: Connection: - keep-alive Content-Length: - - '302' + - '368' Content-Type: - application/json ParameterSetName: @@ -1008,23 +917,23 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:14:35.6262799Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:20:48.1391627Z"},"identity":{"principalId":"334fb75f-aec3-4e29-b5dc-672ed69e5d6d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.65194Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:13:56.730846Z"},"identity":{"principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: api-supported-versions: - 2021-09-01-preview, 2022-05-01-preview, 2022-08-01, 2022-10-01-preview cache-control: - no-cache content-length: - - '1058' + - '1123' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:49 GMT + - Mon, 23 Jan 2023 00:13:57 GMT etag: - - '"0000b239-0000-0600-0000-638b85710000"' + - '"00001d28-0000-0600-0000-63cdd1450000"' expires: - '-1' pragma: @@ -1042,7 +951,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1062,21 +971,21 @@ interactions: User-Agent: - AZURECLI/2.43.0 (MSI) azsdk-python-mgmt-dashboard/1.0.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount?api-version=2022-10-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2022-12-03T17:14:35.6262799Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2022-12-03T17:20:48.1391627Z"},"identity":{"principalId":"334fb75f-aec3-4e29-b5dc-672ed69e5d6d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.1.8.1","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_amg000001/providers/Microsoft.Dashboard/grafana/clitestserviceaccount","name":"clitestserviceaccount","type":"microsoft.dashboard/grafana","sku":{"name":"Standard"},"location":"westcentralus","tags":{},"systemData":{"createdBy":"example@example.com","createdByType":"User","createdAt":"2023-01-23T00:08:46.65194Z","lastModifiedBy":"example@example.com","lastModifiedByType":"User","lastModifiedAt":"2023-01-23T00:13:56.730846Z"},"identity":{"principalId":"aafb2e5f-7616-4149-b6c4-e6559889206b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","grafanaVersion":"9.3.2.2","endpoint":"https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com","zoneRedundancy":"Disabled","publicNetworkAccess":"Enabled","privateEndpointConnections":null,"autoGeneratedDomainNameLabelScope":"TenantReuse","apiKey":"Enabled","deterministicOutboundIP":"Disabled","outboundIPs":null,"grafanaIntegrations":{"azureMonitorWorkspaceIntegrations":[]},"enterpriseConfigurations":null}}' headers: cache-control: - no-cache content-length: - - '1058' + - '1123' content-type: - application/json; charset=utf-8 date: - - Sat, 03 Dec 2022 17:20:49 GMT + - Mon, 23 Jan 2023 00:13:57 GMT etag: - - '"0000b239-0000-0600-0000-638b85710000"' + - '"00001d28-0000-0600-0000-63cdd1450000"' expires: - '-1' pragma: @@ -1124,7 +1033,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:53 GMT + - Mon, 23 Jan 2023 00:14:00 GMT expires: - '-1' pragma: @@ -1132,14 +1041,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088051.82.310.334969|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432839.435.28.118610|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1177,7 +1086,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:54 GMT + - Mon, 23 Jan 2023 00:14:00 GMT expires: - '-1' pragma: @@ -1185,14 +1094,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088054.732.310.520461|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432841.674.29.778255|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1228,7 +1137,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:54 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -1236,14 +1145,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088055.578.307.102118|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432842.202.30.211623|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1268,7 +1177,7 @@ interactions: uri: https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com/api/serviceaccounts/3 response: body: - string: '{"id":3,"message":"Service account updated","name":"myServiceAccount","serviceaccount":{"id":3,"name":"myServiceAccount","login":"sa-oldname","orgId":1,"isDisabled":false,"createdAt":"2022-12-03T17:20:54Z","updatedAt":"2022-12-03T17:20:54Z","avatarUrl":"/avatar/2500c98b645dbb9405e34002e460d53e","role":"Admin","teams":null}}' + string: '{"id":3,"message":"Service account updated","name":"myServiceAccount","serviceaccount":{"id":3,"name":"myServiceAccount","login":"sa-oldname","orgId":1,"isDisabled":false,"createdAt":"2023-01-23T00:14:00Z","updatedAt":"2023-01-23T00:14:00Z","avatarUrl":"/avatar/2500c98b645dbb9405e34002e460d53e","role":"Admin","teams":null}}' headers: cache-control: - no-cache @@ -1281,7 +1190,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:54 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -1289,14 +1198,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088055.776.310.368947|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432842.364.27.398096|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1332,7 +1241,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:55 GMT + - Mon, 23 Jan 2023 00:14:01 GMT expires: - '-1' pragma: @@ -1340,14 +1249,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088056.107.308.134563|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432842.649.30.572923|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1370,7 +1279,7 @@ interactions: uri: https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com/api/serviceaccounts/3 response: body: - string: '{"id":3,"name":"myServiceAccount","login":"sa-oldname","orgId":1,"isDisabled":false,"createdAt":"2022-12-03T17:20:54Z","updatedAt":"2022-12-03T17:20:54Z","avatarUrl":"/avatar/2500c98b645dbb9405e34002e460d53e","role":"Admin","teams":null}' + string: '{"id":3,"name":"myServiceAccount","login":"sa-oldname","orgId":1,"isDisabled":false,"createdAt":"2023-01-23T00:14:00Z","updatedAt":"2023-01-23T00:14:01Z","avatarUrl":"/avatar/2500c98b645dbb9405e34002e460d53e","role":"Admin","teams":null}' headers: cache-control: - no-cache @@ -1383,7 +1292,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:55 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -1391,14 +1300,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088056.28.313.439057|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432842.921.29.522200|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1434,7 +1343,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:55 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -1442,14 +1351,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088056.542.313.146865|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432843.547.31.718079|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1485,7 +1394,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:56 GMT + - Mon, 23 Jan 2023 00:14:02 GMT expires: - '-1' pragma: @@ -1493,14 +1402,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088056.826.307.758563|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432843.814.26.948190|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1525,7 +1434,7 @@ interactions: uri: https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com/api/serviceaccounts/3/tokens response: body: - string: '{"id":1,"name":"myToken","key":"glsa_XEWRzinwj3XnZHzFz159x2I5DiWTcjK6_2e0e300c"}' + string: '{"id":1,"name":"myToken","key":"glsa_Qb2TB3yv4SKPwbfgqKYQMrFQ9UuLrh87_1c02a1f6"}' headers: cache-control: - no-cache @@ -1538,7 +1447,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:56 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -1546,14 +1455,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088057.677.310.218155|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432843.999.27.986711|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1589,7 +1498,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:57 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -1597,14 +1506,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088058.02.314.548541|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + - INGRESSCOOKIE=1674432844.338.28.11542|536a49a9056dcf5427f82e0e17c1daf3; Path=/; Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1627,20 +1536,20 @@ interactions: uri: https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com/api/serviceaccounts/3/tokens response: body: - string: '[{"id":1,"name":"myToken","created":"2022-12-03T17:20:56Z","lastUsedAt":null,"expiration":"2022-12-04T17:20:56Z","secondsUntilExpiration":86398.764182349,"hasExpired":false}]' + string: '[{"id":1,"name":"myToken","created":"2023-01-23T00:14:03Z","lastUsedAt":null,"expiration":"2023-01-24T00:14:03Z","secondsUntilExpiration":86399.450176644,"hasExpired":false,"isRevoked":false}]' headers: cache-control: - no-cache connection: - keep-alive content-length: - - '174' + - '192' content-security-policy: - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:57 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -1648,14 +1557,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088058.203.308.707616|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432844.527.29.391552|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1678,84 +1587,36 @@ interactions: uri: https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com/api/search?type=dash-db response: body: - string: '[{"id":23,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":14,"uid":"54KhiZ7nz","title":"AKS - Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":15,"uid":"6uRDjTNnz","title":"App - Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":10,"uid":"dyzn5SK7z","title":"Azure + string: '[{"id":19,"uid":"OSBzdgnnz","title":"Agent QoS","uri":"db/agent-qos","url":"/d/OSBzdgnnz/agent-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":13,"uid":"54KhiZ7nz","title":"AKS + Linux Sample Application","uri":"db/aks-linux-sample-application","url":"/d/54KhiZ7nz/aks-linux-sample-application","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":22,"uid":"6uRDjTNnz","title":"App + Detail","uri":"db/app-detail","url":"/d/6uRDjTNnz/app-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":4,"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":5,"uid":"Yo38mcvnz","title":"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":9,"uid":"AppInsightsAvTestGeoMap","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":2,"uid":"AppInsightsAvTestGeoMap","title":"Azure / Insights / Applications Test Availability Geo Map","uri":"db/azure-insights-applications-test-availability-geo-map","url":"/d/AppInsightsAvTestGeoMap/azure-insights-applications-test-availability-geo-map","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":"INH9berMk","title":"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":8,"uid":"8UDB1s3Gk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":9,"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":2,"uid":"tQZAMYrMk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":10,"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":3,"uid":"3n2E8CrGk","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":11,"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":4,"uid":"AzVmInsightsByRG","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":5,"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":11,"uid":"AzVmInsightsByWS","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":6,"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":6,"uid":"Mtwt2BV7k","title":"Azure + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":3,"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":16,"uid":"xLERdASnz","title":"Cluster - Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":25,"uid":"vkQ0UHxiddk","title":"CoreDNS","uri":"db/coredns","url":"/d/vkQ0UHxiddk/coredns","slug":"","type":"dash-db","tags":["coredns-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":21,"uid":"QTVw7iK7z","title":"Geneva - Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":13,"uid":"icm-example","title":"IcM - Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":17,"uid":"sVKyjvpnz","title":"Incoming - Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":26,"uid":"09ec8aa1e996d6ffcd6817bbaff4db1b","title":"Kubernetes - / API server","uri":"db/kubernetes-api-server","url":"/d/09ec8aa1e996d6ffcd6817bbaff4db1b/kubernetes-api-server","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":27,"uid":"efa86fd1d0c121a26444b636a3f509a8","title":"Kubernetes - / Compute Resources / Cluster","uri":"db/kubernetes-compute-resources-cluster","url":"/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":28,"uid":"85a562078cdf77779eaa1add43ccec1e","title":"Kubernetes - / Compute Resources / Namespace (Pods)","uri":"db/kubernetes-compute-resources-namespace-pods","url":"/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":29,"uid":"a87fb0d919ec0ea5f6543124e16c42a5","title":"Kubernetes - / Compute Resources / Namespace (Workloads)","uri":"db/kubernetes-compute-resources-namespace-workloads","url":"/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":30,"uid":"200ac8fdbfbb74b39aff88118e4d1c2c","title":"Kubernetes - / Compute Resources / Node (Pods)","uri":"db/kubernetes-compute-resources-node-pods","url":"/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":31,"uid":"6581e46e4e5c7ba40a07646395ef7b23","title":"Kubernetes - / Compute Resources / Pod","uri":"db/kubernetes-compute-resources-pod","url":"/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":32,"uid":"a164a7f0339f99e89cea5cb47e9be617","title":"Kubernetes - / Compute Resources / Workload","uri":"db/kubernetes-compute-resources-workload","url":"/d/a164a7f0339f99e89cea5cb47e9be617/kubernetes-compute-resources-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":33,"uid":"3138fa155d5915769fbded898ac09ff9","title":"Kubernetes - / Kubelet","uri":"db/kubernetes-kubelet","url":"/d/3138fa155d5915769fbded898ac09ff9/kubernetes-kubelet","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":34,"uid":"ff635a025bcfea7bc3dd4f508990a3e9","title":"Kubernetes - / Networking / Cluster","uri":"db/kubernetes-networking-cluster","url":"/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":35,"uid":"8b7a8b326d7a6f1f04244066368c67af","title":"Kubernetes - / Networking / Namespace (Pods)","uri":"db/kubernetes-networking-namespace-pods","url":"/d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":36,"uid":"bbb2a765a623ae38130206c7d94a160f","title":"Kubernetes - / Networking / Namespace (Workload)","uri":"db/kubernetes-networking-namespace-workload","url":"/d/bbb2a765a623ae38130206c7d94a160f/kubernetes-networking-namespace-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":37,"uid":"7a18067ce943a40ae25454675c19ff5c","title":"Kubernetes - / Networking / Pod","uri":"db/kubernetes-networking-pod","url":"/d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":38,"uid":"728bf77cc1166d2f3133bf25846876cc","title":"Kubernetes - / Networking / Workload","uri":"db/kubernetes-networking-workload","url":"/d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":39,"uid":"919b92a8e8041bd567af9edab12c840c","title":"Kubernetes - / Persistent Volumes","uri":"db/kubernetes-persistent-volumes","url":"/d/919b92a8e8041bd567af9edab12c840c/kubernetes-persistent-volumes","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":40,"uid":"632e265de029684c40b21cb76bca4f94","title":"Kubernetes - / Proxy","uri":"db/kubernetes-proxy","url":"/d/632e265de029684c40b21cb76bca4f94/kubernetes-proxy","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":41,"uid":"F4bizNZ7k","title":"Kubernetes - / StatefulSets","uri":"db/kubernetes-statefulsets","url":"/d/F4bizNZ7k/kubernetes-statefulsets","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":45,"uid":"VESDBJS7k","title":"Kubernetes - / USE Method / Cluster(Windows)","uri":"db/kubernetes-use-method-cluster-windows","url":"/d/VESDBJS7k/kubernetes-use-method-cluster-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":46,"uid":"YCBDf1I7k","title":"Kubernetes - / USE Method / Node(Windows)","uri":"db/kubernetes-use-method-node-windows","url":"/d/YCBDf1I7k/kubernetes-use-method-node-windows","slug":"","type":"dash-db","tags":["kubernetes-mixin"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":18,"uid":"_sKhXTH7z","title":"Node - Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":42,"uid":"D4pVsnCGz","title":"Nodes - (Node exporter)","uri":"db/nodes-node-exporter","url":"/d/D4pVsnCGz/nodes-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":19,"uid":"6naEwcp7z","title":"Outgoing - Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":47,"uid":"UskST-Snz","title":"Prometheus-Collector - Health","uri":"db/prometheus-collector-health","url":"/d/UskST-Snz/prometheus-collector-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":22,"uid":"GIgvhSV7z","title":"Service - Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":43,"uid":"VdrOA7jGz","title":"USE - Method / Cluster (Node exporter)","uri":"db/use-method-cluster-node-exporter","url":"/d/VdrOA7jGz/use-method-cluster-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":44,"uid":"t5ajanjMk","title":"USE - Method / Node (Node exporter)","uri":"db/use-method-node-node-exporter","url":"/d/t5ajanjMk/use-method-node-node-exporter","slug":"","type":"dash-db","tags":["node - exporter"],"isStarred":false,"folderId":24,"folderUid":"PrometheusMDM","folderTitle":"Azure - Monitor Container Insights","folderUrl":"/dashboards/f/PrometheusMDM/azure-monitor-container-insights","sortMeta":0},{"id":20,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' + Monitor","folderUrl":"/dashboards/f/az-mon/azure-monitor","sortMeta":0},{"id":14,"uid":"xLERdASnz","title":"Cluster + Detail","uri":"db/cluster-detail","url":"/d/xLERdASnz/cluster-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":15,"uid":"QTVw7iK7z","title":"Geneva + Health","uri":"db/geneva-health","url":"/d/QTVw7iK7z/geneva-health","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":20,"uid":"icm-example","title":"IcM + Canned Dashboard","uri":"db/icm-canned-dashboard","url":"/d/icm-example/icm-canned-dashboard","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":24,"uid":"sVKyjvpnz","title":"Incoming + Service QoS","uri":"db/incoming-service-qos","url":"/d/sVKyjvpnz/incoming-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":16,"uid":"_sKhXTH7z","title":"Node + Detail","uri":"db/node-detail","url":"/d/_sKhXTH7z/node-detail","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":17,"uid":"6naEwcp7z","title":"Outgoing + Service QoS","uri":"db/outgoing-service-qos","url":"/d/6naEwcp7z/outgoing-service-qos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":23,"uid":"GIgvhSV7z","title":"Service + Fabric Application Overview","uri":"db/service-fabric-application-overview","url":"/d/GIgvhSV7z/service-fabric-application-overview","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0},{"id":18,"uid":"duj3tR77k","title":"WarmPathQoS","uri":"db/warmpathqos","url":"/d/duj3tR77k/warmpathqos","slug":"","type":"dash-db","tags":[],"isStarred":false,"folderId":12,"folderUid":"geneva","folderTitle":"Geneva","folderUrl":"/dashboards/f/geneva/geneva","sortMeta":0}]' headers: cache-control: - no-cache @@ -1766,7 +1627,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:57 GMT + - Mon, 23 Jan 2023 00:14:03 GMT expires: - '-1' pragma: @@ -1774,8 +1635,8 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088058.485.312.898271|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432844.79.28.884947|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: @@ -1783,7 +1644,7 @@ interactions: x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1819,7 +1680,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:57 GMT + - Mon, 23 Jan 2023 00:14:04 GMT expires: - '-1' pragma: @@ -1827,14 +1688,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088058.827.313.648711|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432845.119.26.774199|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1870,7 +1731,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:58 GMT + - Mon, 23 Jan 2023 00:14:04 GMT expires: - '-1' pragma: @@ -1878,14 +1739,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088059.011.307.706014|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432845.296.31.848022|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1908,20 +1769,20 @@ interactions: uri: https://clitestserviceaccount-dnh4dreygqa8hjhk.wcus.grafana.azure.com/api/serviceaccounts/3/tokens response: body: - string: '[{"id":1,"name":"myToken","created":"2022-12-03T17:20:56Z","lastUsedAt":"2022-12-03T17:20:57Z","expiration":"2022-12-04T17:20:56Z","secondsUntilExpiration":86397.736716692,"hasExpired":false}]' + string: '[{"id":1,"name":"myToken","created":"2023-01-23T00:14:03Z","lastUsedAt":"2023-01-23T00:14:03Z","expiration":"2023-01-24T00:14:03Z","secondsUntilExpiration":86398.490316159,"hasExpired":false,"isRevoked":false}]' headers: cache-control: - no-cache connection: - keep-alive content-length: - - '192' + - '210' content-security-policy: - 'script-src: ''unsafe-eval'' ''unsafe-inline'';' content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:58 GMT + - Mon, 23 Jan 2023 00:14:04 GMT expires: - '-1' pragma: @@ -1929,14 +1790,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088059.214.313.186046|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432845.483.28.567690|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -1974,7 +1835,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:58 GMT + - Mon, 23 Jan 2023 00:14:04 GMT expires: - '-1' pragma: @@ -1982,14 +1843,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088059.428.313.726400|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432845.652.26.817110|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -2025,7 +1886,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:58 GMT + - Mon, 23 Jan 2023 00:14:04 GMT expires: - '-1' pragma: @@ -2033,14 +1894,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088059.745.310.945666|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432845.94.28.589214|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -2076,7 +1937,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:58 GMT + - Mon, 23 Jan 2023 00:14:05 GMT expires: - '-1' pragma: @@ -2084,14 +1945,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088059.959.311.595654|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432846.124.29.241704|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -2127,7 +1988,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:59 GMT + - Mon, 23 Jan 2023 00:14:05 GMT expires: - '-1' pragma: @@ -2135,14 +1996,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088060.243.316.440887|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432846.38.26.150236|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: @@ -2180,7 +2041,7 @@ interactions: content-type: - application/json date: - - Sat, 03 Dec 2022 17:20:59 GMT + - Mon, 23 Jan 2023 00:14:05 GMT expires: - '-1' pragma: @@ -2188,14 +2049,14 @@ interactions: request-context: - appId=cid-v1:9ec01a72-f829-441f-8754-21b0c7a10162 set-cookie: - - INGRESSCOOKIE=1670088060.436.310.399502|536a49a9056dcf5427f82e0e17c1daf3; - Path=/; Secure; HttpOnly + - INGRESSCOOKIE=1674432846.563.28.921864|536a49a9056dcf5427f82e0e17c1daf3; Path=/; + Secure; HttpOnly strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: - nosniff x-frame-options: - - deny + - DENY x-xss-protection: - 1; mode=block status: 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 b7c2429813..91625bb4d1 100644 --- a/src/amg/azext_amg/tests/latest/test_amg_scenario.py +++ b/src/amg/azext_amg/tests/latest/test_amg_scenario.py @@ -16,7 +16,7 @@ class AmgScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_amg') - def test_amg_base(self, resource_group): + def test_amg_crud(self, resource_group): self.kwargs.update({ 'name': 'clitestamg2', diff --git a/src/amg/azext_amg/vendored_sdks/__init__.py b/src/amg/azext_amg/vendored_sdks/__init__.py index 1cdb782a66..218c470e12 100644 --- a/src/amg/azext_amg/vendored_sdks/__init__.py +++ b/src/amg/azext_amg/vendored_sdks/__init__.py @@ -13,11 +13,14 @@ try: from ._patch import __all__ as _patch_all - from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import + from ._patch import * # pylint: disable=unused-wildcard-import except ImportError: _patch_all = [] from ._patch import patch_sdk as _patch_sdk -__all__ = ['DashboardManagementClient'] + +__all__ = [ + "DashboardManagementClient", +] __all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() diff --git a/src/amg/azext_amg/vendored_sdks/_configuration.py b/src/amg/azext_amg/vendored_sdks/_configuration.py index 2b30d43932..30dddb1f74 100644 --- a/src/amg/azext_amg/vendored_sdks/_configuration.py +++ b/src/amg/azext_amg/vendored_sdks/_configuration.py @@ -6,6 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import sys from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration @@ -14,6 +15,11 @@ from ._version import VERSION +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports + if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials import TokenCredential @@ -25,23 +31,18 @@ class DashboardManagementClientConfiguration(Configuration): # pylint: disable= Note that all parameters used to create this instance are saved as instance attributes. - :param credential: Credential needed for the client to connect to Azure. + :param credential: Credential needed for the client to connect to Azure. Required. :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. + :param subscription_id: The ID of the target subscription. Required. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2022-08-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2022-10-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str """ - def __init__( - self, - credential: "TokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: + def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None: super(DashboardManagementClientConfiguration, self).__init__(**kwargs) - api_version = kwargs.pop('api_version', "2022-08-01") # type: str + api_version: Literal["2022-10-01-preview"] = kwargs.pop("api_version", "2022-10-01-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") @@ -51,23 +52,21 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = api_version - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'mgmt-dashboard/{}'.format(VERSION)) + self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"]) + kwargs.setdefault("sdk_moniker", "mgmt-dashboard/{}".format(VERSION)) self._configure(**kwargs) - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') + def _configure(self, **kwargs: Any) -> None: + self.user_agent_policy = kwargs.get("user_agent_policy") or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get("logging_policy") or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get("http_logging_policy") or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get("retry_policy") or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get("custom_hook_policy") or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get("redirect_policy") or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") if self.credential and not self.authentication_policy: - self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = ARMChallengeAuthenticationPolicy( + self.credential, *self.credential_scopes, **kwargs + ) diff --git a/src/amg/azext_amg/vendored_sdks/_dashboard_management_client.py b/src/amg/azext_amg/vendored_sdks/_dashboard_management_client.py index 90fa07ca39..673cde0f19 100644 --- a/src/amg/azext_amg/vendored_sdks/_dashboard_management_client.py +++ b/src/amg/azext_amg/vendored_sdks/_dashboard_management_client.py @@ -9,20 +9,26 @@ from copy import deepcopy from typing import Any, TYPE_CHECKING -from msrest import Deserializer, Serializer - from azure.core.rest import HttpRequest, HttpResponse from azure.mgmt.core import ARMPipelineClient -from . import models +from . import models as _models from ._configuration import DashboardManagementClientConfiguration -from .operations import GrafanaOperations, Operations, PrivateEndpointConnectionsOperations, PrivateLinkResourcesOperations +from ._serialization import Deserializer, Serializer +from .operations import ( + EnterpriseDetailsOperations, + GrafanaOperations, + Operations, + PrivateEndpointConnectionsOperations, + PrivateLinkResourcesOperations, +) if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials import TokenCredential -class DashboardManagementClient: + +class DashboardManagementClient: # pylint: disable=client-accepts-api-version-keyword """The Microsoft.Dashboard Rest API spec. :ivar operations: Operations operations @@ -34,14 +40,16 @@ class DashboardManagementClient: azure.mgmt.dashboard.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations :vartype private_link_resources: azure.mgmt.dashboard.operations.PrivateLinkResourcesOperations - :param credential: Credential needed for the client to connect to Azure. + :ivar enterprise_details: EnterpriseDetailsOperations operations + :vartype enterprise_details: azure.mgmt.dashboard.operations.EnterpriseDetailsOperations + :param credential: Credential needed for the client to connect to Azure. Required. :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. + :param subscription_id: The ID of the target subscription. Required. :type subscription_id: str :param base_url: Service URL. Default value is "https://management.azure.com". :type base_url: str - :keyword api_version: Api Version. Default value is "2022-08-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2022-10-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. @@ -54,32 +62,28 @@ def __init__( base_url: str = "https://management.azure.com", **kwargs: Any ) -> None: - self._config = DashboardManagementClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._config = DashboardManagementClientConfiguration( + credential=credential, subscription_id=subscription_id, **kwargs + ) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self._serialize.client_side_validation = False - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize - ) - self.grafana = GrafanaOperations( - self._client, self._config, self._serialize, self._deserialize - ) + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.grafana = GrafanaOperations(self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize ) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize ) + self.enterprise_details = EnterpriseDetailsOperations( + self._client, self._config, self._serialize, self._deserialize + ) - - def _send_request( - self, - request: HttpRequest, - **kwargs: Any - ) -> HttpResponse: + def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse: """Runs the network request through the client's chained policies. >>> from azure.core.rest import HttpRequest @@ -88,7 +92,7 @@ def _send_request( >>> response = client._send_request(request) - For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + For more information on this code flow, see https://aka.ms/azsdk/dpcodegen/python/send_request :param request: The network request you want to make. Required. :type request: ~azure.core.rest.HttpRequest @@ -101,15 +105,12 @@ def _send_request( request_copy.url = self._client.format_url(request_copy.url) return self._client.send_request(request_copy, **kwargs) - def close(self): - # type: () -> None + def close(self) -> None: self._client.close() - def __enter__(self): - # type: () -> DashboardManagementClient + def __enter__(self) -> "DashboardManagementClient": self._client.__enter__() return self - def __exit__(self, *exc_details): - # type: (Any) -> None + def __exit__(self, *exc_details) -> None: self._client.__exit__(*exc_details) diff --git a/src/amg/azext_amg/vendored_sdks/_patch.py b/src/amg/azext_amg/vendored_sdks/_patch.py index 74e48ecd07..f99e77fef9 100644 --- a/src/amg/azext_amg/vendored_sdks/_patch.py +++ b/src/amg/azext_amg/vendored_sdks/_patch.py @@ -28,4 +28,4 @@ # This file is used for handwritten extensions to the generated code. Example: # https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md def patch_sdk(): - pass \ No newline at end of file + pass diff --git a/src/amg/azext_amg/vendored_sdks/_serialization.py b/src/amg/azext_amg/vendored_sdks/_serialization.py new file mode 100644 index 0000000000..f17c068e83 --- /dev/null +++ b/src/amg/azext_amg/vendored_sdks/_serialization.py @@ -0,0 +1,1996 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# pylint: skip-file +# pyright: reportUnnecessaryTypeIgnoreComment=false + +from base64 import b64decode, b64encode +import calendar +import datetime +import decimal +import email +from enum import Enum +import json +import logging +import re +import sys +import codecs +from typing import ( + Dict, + Any, + cast, + Optional, + Union, + AnyStr, + IO, + Mapping, + Callable, + TypeVar, + MutableMapping, + Type, + List, + Mapping, +) + +try: + from urllib import quote # type: ignore +except ImportError: + from urllib.parse import quote +import xml.etree.ElementTree as ET + +import isodate # type: ignore + +from azure.core.exceptions import DeserializationError, SerializationError, raise_with_traceback +from azure.core.serialization import NULL as AzureCoreNull + +_BOM = codecs.BOM_UTF8.decode(encoding="utf-8") + +ModelType = TypeVar("ModelType", bound="Model") +JSON = MutableMapping[str, Any] + + +class RawDeserializer: + + # Accept "text" because we're open minded people... + JSON_REGEXP = re.compile(r"^(application|text)/([a-z+.]+\+)?json$") + + # Name used in context + CONTEXT_NAME = "deserialized_data" + + @classmethod + def deserialize_from_text(cls, data: Optional[Union[AnyStr, IO]], content_type: Optional[str] = None) -> Any: + """Decode data according to content-type. + + Accept a stream of data as well, but will be load at once in memory for now. + + If no content-type, will return the string version (not bytes, not stream) + + :param data: Input, could be bytes or stream (will be decoded with UTF8) or text + :type data: str or bytes or IO + :param str content_type: The content type. + """ + if hasattr(data, "read"): + # Assume a stream + data = cast(IO, data).read() + + if isinstance(data, bytes): + data_as_str = data.decode(encoding="utf-8-sig") + else: + # Explain to mypy the correct type. + data_as_str = cast(str, data) + + # Remove Byte Order Mark if present in string + data_as_str = data_as_str.lstrip(_BOM) + + if content_type is None: + return data + + if cls.JSON_REGEXP.match(content_type): + try: + return json.loads(data_as_str) + except ValueError as err: + raise DeserializationError("JSON is invalid: {}".format(err), err) + elif "xml" in (content_type or []): + try: + + try: + if isinstance(data, unicode): # type: ignore + # If I'm Python 2.7 and unicode XML will scream if I try a "fromstring" on unicode string + data_as_str = data_as_str.encode(encoding="utf-8") # type: ignore + except NameError: + pass + + return ET.fromstring(data_as_str) # nosec + except ET.ParseError: + # It might be because the server has an issue, and returned JSON with + # content-type XML.... + # So let's try a JSON load, and if it's still broken + # let's flow the initial exception + def _json_attemp(data): + try: + return True, json.loads(data) + except ValueError: + return False, None # Don't care about this one + + success, json_result = _json_attemp(data) + if success: + return json_result + # If i'm here, it's not JSON, it's not XML, let's scream + # and raise the last context in this block (the XML exception) + # The function hack is because Py2.7 messes up with exception + # context otherwise. + _LOGGER.critical("Wasn't XML not JSON, failing") + raise_with_traceback(DeserializationError, "XML is invalid") + raise DeserializationError("Cannot deserialize content-type: {}".format(content_type)) + + @classmethod + def deserialize_from_http_generics(cls, body_bytes: Optional[Union[AnyStr, IO]], headers: Mapping) -> Any: + """Deserialize from HTTP response. + + Use bytes and headers to NOT use any requests/aiohttp or whatever + specific implementation. + Headers will tested for "content-type" + """ + # Try to use content-type from headers if available + content_type = None + if "content-type" in headers: + content_type = headers["content-type"].split(";")[0].strip().lower() + # Ouch, this server did not declare what it sent... + # Let's guess it's JSON... + # Also, since Autorest was considering that an empty body was a valid JSON, + # need that test as well.... + else: + content_type = "application/json" + + if body_bytes: + return cls.deserialize_from_text(body_bytes, content_type) + return None + + +try: + basestring # type: ignore + unicode_str = unicode # type: ignore +except NameError: + basestring = str + unicode_str = str + +_LOGGER = logging.getLogger(__name__) + +try: + _long_type = long # type: ignore +except NameError: + _long_type = int + + +class UTC(datetime.tzinfo): + """Time Zone info for handling UTC""" + + def utcoffset(self, dt): + """UTF offset for UTC is 0.""" + return datetime.timedelta(0) + + def tzname(self, dt): + """Timestamp representation.""" + return "Z" + + def dst(self, dt): + """No daylight saving for UTC.""" + return datetime.timedelta(hours=1) + + +try: + from datetime import timezone as _FixedOffset # type: ignore +except ImportError: # Python 2.7 + + class _FixedOffset(datetime.tzinfo): # type: ignore + """Fixed offset in minutes east from UTC. + Copy/pasted from Python doc + :param datetime.timedelta offset: offset in timedelta format + """ + + def __init__(self, offset): + self.__offset = offset + + def utcoffset(self, dt): + return self.__offset + + def tzname(self, dt): + return str(self.__offset.total_seconds() / 3600) + + def __repr__(self): + return "".format(self.tzname(None)) + + def dst(self, dt): + return datetime.timedelta(0) + + def __getinitargs__(self): + return (self.__offset,) + + +try: + from datetime import timezone + + TZ_UTC = timezone.utc +except ImportError: + TZ_UTC = UTC() # type: ignore + +_FLATTEN = re.compile(r"(? None: + self.additional_properties: Dict[str, Any] = {} + for k in kwargs: + if k not in self._attribute_map: + _LOGGER.warning("%s is not a known attribute of class %s and will be ignored", k, self.__class__) + elif k in self._validation and self._validation[k].get("readonly", False): + _LOGGER.warning("Readonly attribute %s will be ignored in class %s", k, self.__class__) + else: + setattr(self, k, kwargs[k]) + + def __eq__(self, other: Any) -> bool: + """Compare objects by comparing all attributes.""" + if isinstance(other, self.__class__): + return self.__dict__ == other.__dict__ + return False + + def __ne__(self, other: Any) -> bool: + """Compare objects by comparing all attributes.""" + return not self.__eq__(other) + + def __str__(self) -> str: + return str(self.__dict__) + + @classmethod + def enable_additional_properties_sending(cls) -> None: + cls._attribute_map["additional_properties"] = {"key": "", "type": "{object}"} + + @classmethod + def is_xml_model(cls) -> bool: + try: + cls._xml_map # type: ignore + except AttributeError: + return False + return True + + @classmethod + def _create_xml_node(cls): + """Create XML node.""" + try: + xml_map = cls._xml_map # type: ignore + except AttributeError: + xml_map = {} + + return _create_xml_node(xml_map.get("name", cls.__name__), xml_map.get("prefix", None), xml_map.get("ns", None)) + + def serialize(self, keep_readonly: bool = False, **kwargs: Any) -> JSON: + """Return the JSON that would be sent to azure from this model. + + This is an alias to `as_dict(full_restapi_key_transformer, keep_readonly=False)`. + + If you want XML serialization, you can pass the kwargs is_xml=True. + + :param bool keep_readonly: If you want to serialize the readonly attributes + :returns: A dict JSON compatible object + :rtype: dict + """ + serializer = Serializer(self._infer_class_models()) + return serializer._serialize(self, keep_readonly=keep_readonly, **kwargs) + + def as_dict( + self, + keep_readonly: bool = True, + key_transformer: Callable[[str, Dict[str, Any], Any], Any] = attribute_transformer, + **kwargs: Any + ) -> JSON: + """Return a dict that can be serialized using json.dump. + + Advanced usage might optionally use a callback as parameter: + + .. code::python + + def my_key_transformer(key, attr_desc, value): + return key + + Key is the attribute name used in Python. Attr_desc + is a dict of metadata. Currently contains 'type' with the + msrest type and 'key' with the RestAPI encoded key. + Value is the current value in this object. + + The string returned will be used to serialize the key. + If the return type is a list, this is considered hierarchical + result dict. + + See the three examples in this file: + + - attribute_transformer + - full_restapi_key_transformer + - last_restapi_key_transformer + + If you want XML serialization, you can pass the kwargs is_xml=True. + + :param function key_transformer: A key transformer function. + :returns: A dict JSON compatible object + :rtype: dict + """ + serializer = Serializer(self._infer_class_models()) + return serializer._serialize(self, key_transformer=key_transformer, keep_readonly=keep_readonly, **kwargs) + + @classmethod + def _infer_class_models(cls): + try: + str_models = cls.__module__.rsplit(".", 1)[0] + models = sys.modules[str_models] + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + if cls.__name__ not in client_models: + raise ValueError("Not Autorest generated code") + except Exception: + # Assume it's not Autorest generated (tests?). Add ourselves as dependencies. + client_models = {cls.__name__: cls} + return client_models + + @classmethod + def deserialize(cls: Type[ModelType], data: Any, content_type: Optional[str] = None) -> ModelType: + """Parse a str using the RestAPI syntax and return a model. + + :param str data: A str using RestAPI structure. JSON by default. + :param str content_type: JSON by default, set application/xml if XML. + :returns: An instance of this model + :raises: DeserializationError if something went wrong + """ + deserializer = Deserializer(cls._infer_class_models()) + return deserializer(cls.__name__, data, content_type=content_type) + + @classmethod + def from_dict( + cls: Type[ModelType], + data: Any, + key_extractors: Optional[Callable[[str, Dict[str, Any], Any], Any]] = None, + content_type: Optional[str] = None, + ) -> ModelType: + """Parse a dict using given key extractor return a model. + + By default consider key + extractors (rest_key_case_insensitive_extractor, attribute_key_case_insensitive_extractor + and last_rest_key_case_insensitive_extractor) + + :param dict data: A dict using RestAPI structure + :param str content_type: JSON by default, set application/xml if XML. + :returns: An instance of this model + :raises: DeserializationError if something went wrong + """ + deserializer = Deserializer(cls._infer_class_models()) + deserializer.key_extractors = ( # type: ignore + [ # type: ignore + attribute_key_case_insensitive_extractor, + rest_key_case_insensitive_extractor, + last_rest_key_case_insensitive_extractor, + ] + if key_extractors is None + else key_extractors + ) + return deserializer(cls.__name__, data, content_type=content_type) + + @classmethod + def _flatten_subtype(cls, key, objects): + if "_subtype_map" not in cls.__dict__: + return {} + result = dict(cls._subtype_map[key]) + for valuetype in cls._subtype_map[key].values(): + result.update(objects[valuetype]._flatten_subtype(key, objects)) + return result + + @classmethod + def _classify(cls, response, objects): + """Check the class _subtype_map for any child classes. + We want to ignore any inherited _subtype_maps. + Remove the polymorphic key from the initial data. + """ + for subtype_key in cls.__dict__.get("_subtype_map", {}).keys(): + subtype_value = None + + if not isinstance(response, ET.Element): + rest_api_response_key = cls._get_rest_key_parts(subtype_key)[-1] + subtype_value = response.pop(rest_api_response_key, None) or response.pop(subtype_key, None) + else: + subtype_value = xml_key_extractor(subtype_key, cls._attribute_map[subtype_key], response) + if subtype_value: + # Try to match base class. Can be class name only + # (bug to fix in Autorest to support x-ms-discriminator-name) + if cls.__name__ == subtype_value: + return cls + flatten_mapping_type = cls._flatten_subtype(subtype_key, objects) + try: + return objects[flatten_mapping_type[subtype_value]] # type: ignore + except KeyError: + _LOGGER.warning( + "Subtype value %s has no mapping, use base class %s.", + subtype_value, + cls.__name__, + ) + break + else: + _LOGGER.warning("Discriminator %s is absent or null, use base class %s.", subtype_key, cls.__name__) + break + return cls + + @classmethod + def _get_rest_key_parts(cls, attr_key): + """Get the RestAPI key of this attr, split it and decode part + :param str attr_key: Attribute key must be in attribute_map. + :returns: A list of RestAPI part + :rtype: list + """ + rest_split_key = _FLATTEN.split(cls._attribute_map[attr_key]["key"]) + return [_decode_attribute_map_key(key_part) for key_part in rest_split_key] + + +def _decode_attribute_map_key(key): + """This decode a key in an _attribute_map to the actual key we want to look at + inside the received data. + + :param str key: A key string from the generated code + """ + return key.replace("\\.", ".") + + +class Serializer(object): + """Request object model serializer.""" + + basic_types = {str: "str", int: "int", bool: "bool", float: "float"} + + _xml_basic_types_serializers = {"bool": lambda x: str(x).lower()} + days = {0: "Mon", 1: "Tue", 2: "Wed", 3: "Thu", 4: "Fri", 5: "Sat", 6: "Sun"} + months = { + 1: "Jan", + 2: "Feb", + 3: "Mar", + 4: "Apr", + 5: "May", + 6: "Jun", + 7: "Jul", + 8: "Aug", + 9: "Sep", + 10: "Oct", + 11: "Nov", + 12: "Dec", + } + validation = { + "min_length": lambda x, y: len(x) < y, + "max_length": lambda x, y: len(x) > y, + "minimum": lambda x, y: x < y, + "maximum": lambda x, y: x > y, + "minimum_ex": lambda x, y: x <= y, + "maximum_ex": lambda x, y: x >= y, + "min_items": lambda x, y: len(x) < y, + "max_items": lambda x, y: len(x) > y, + "pattern": lambda x, y: not re.match(y, x, re.UNICODE), + "unique": lambda x, y: len(x) != len(set(x)), + "multiple": lambda x, y: x % y != 0, + } + + def __init__(self, classes: Optional[Mapping[str, Type[ModelType]]] = None): + self.serialize_type = { + "iso-8601": Serializer.serialize_iso, + "rfc-1123": Serializer.serialize_rfc, + "unix-time": Serializer.serialize_unix, + "duration": Serializer.serialize_duration, + "date": Serializer.serialize_date, + "time": Serializer.serialize_time, + "decimal": Serializer.serialize_decimal, + "long": Serializer.serialize_long, + "bytearray": Serializer.serialize_bytearray, + "base64": Serializer.serialize_base64, + "object": self.serialize_object, + "[]": self.serialize_iter, + "{}": self.serialize_dict, + } + self.dependencies: Dict[str, Type[ModelType]] = dict(classes) if classes else {} + self.key_transformer = full_restapi_key_transformer + self.client_side_validation = True + + def _serialize(self, target_obj, data_type=None, **kwargs): + """Serialize data into a string according to type. + + :param target_obj: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str, dict + :raises: SerializationError if serialization fails. + """ + key_transformer = kwargs.get("key_transformer", self.key_transformer) + keep_readonly = kwargs.get("keep_readonly", False) + if target_obj is None: + return None + + attr_name = None + class_name = target_obj.__class__.__name__ + + if data_type: + return self.serialize_data(target_obj, data_type, **kwargs) + + if not hasattr(target_obj, "_attribute_map"): + data_type = type(target_obj).__name__ + if data_type in self.basic_types.values(): + return self.serialize_data(target_obj, data_type, **kwargs) + + # Force "is_xml" kwargs if we detect a XML model + try: + is_xml_model_serialization = kwargs["is_xml"] + except KeyError: + is_xml_model_serialization = kwargs.setdefault("is_xml", target_obj.is_xml_model()) + + serialized = {} + if is_xml_model_serialization: + serialized = target_obj._create_xml_node() + try: + attributes = target_obj._attribute_map + for attr, attr_desc in attributes.items(): + attr_name = attr + if not keep_readonly and target_obj._validation.get(attr_name, {}).get("readonly", False): + continue + + if attr_name == "additional_properties" and attr_desc["key"] == "": + if target_obj.additional_properties is not None: + serialized.update(target_obj.additional_properties) + continue + try: + + orig_attr = getattr(target_obj, attr) + if is_xml_model_serialization: + pass # Don't provide "transformer" for XML for now. Keep "orig_attr" + else: # JSON + keys, orig_attr = key_transformer(attr, attr_desc.copy(), orig_attr) + keys = keys if isinstance(keys, list) else [keys] + + kwargs["serialization_ctxt"] = attr_desc + new_attr = self.serialize_data(orig_attr, attr_desc["type"], **kwargs) + + if is_xml_model_serialization: + xml_desc = attr_desc.get("xml", {}) + xml_name = xml_desc.get("name", attr_desc["key"]) + xml_prefix = xml_desc.get("prefix", None) + xml_ns = xml_desc.get("ns", None) + if xml_desc.get("attr", False): + if xml_ns: + ET.register_namespace(xml_prefix, xml_ns) + xml_name = "{}{}".format(xml_ns, xml_name) + serialized.set(xml_name, new_attr) # type: ignore + continue + if xml_desc.get("text", False): + serialized.text = new_attr # type: ignore + continue + if isinstance(new_attr, list): + serialized.extend(new_attr) # type: ignore + elif isinstance(new_attr, ET.Element): + # If the down XML has no XML/Name, we MUST replace the tag with the local tag. But keeping the namespaces. + if "name" not in getattr(orig_attr, "_xml_map", {}): + splitted_tag = new_attr.tag.split("}") + if len(splitted_tag) == 2: # Namespace + new_attr.tag = "}".join([splitted_tag[0], xml_name]) + else: + new_attr.tag = xml_name + serialized.append(new_attr) # type: ignore + else: # That's a basic type + # Integrate namespace if necessary + local_node = _create_xml_node(xml_name, xml_prefix, xml_ns) + local_node.text = unicode_str(new_attr) + serialized.append(local_node) # type: ignore + else: # JSON + for k in reversed(keys): # type: ignore + new_attr = {k: new_attr} + + _new_attr = new_attr + _serialized = serialized + for k in keys: # type: ignore + if k not in _serialized: + _serialized.update(_new_attr) # type: ignore + _new_attr = _new_attr[k] # type: ignore + _serialized = _serialized[k] + except ValueError: + continue + + except (AttributeError, KeyError, TypeError) as err: + msg = "Attribute {} in object {} cannot be serialized.\n{}".format(attr_name, class_name, str(target_obj)) + raise_with_traceback(SerializationError, msg, err) + else: + return serialized + + def body(self, data, data_type, **kwargs): + """Serialize data intended for a request body. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: dict + :raises: SerializationError if serialization fails. + :raises: ValueError if data is None + """ + + # Just in case this is a dict + internal_data_type_str = data_type.strip("[]{}") + internal_data_type = self.dependencies.get(internal_data_type_str, None) + try: + is_xml_model_serialization = kwargs["is_xml"] + except KeyError: + if internal_data_type and issubclass(internal_data_type, Model): + is_xml_model_serialization = kwargs.setdefault("is_xml", internal_data_type.is_xml_model()) + else: + is_xml_model_serialization = False + if internal_data_type and not isinstance(internal_data_type, Enum): + try: + deserializer = Deserializer(self.dependencies) + # Since it's on serialization, it's almost sure that format is not JSON REST + # We're not able to deal with additional properties for now. + deserializer.additional_properties_detection = False + if is_xml_model_serialization: + deserializer.key_extractors = [ # type: ignore + attribute_key_case_insensitive_extractor, + ] + else: + deserializer.key_extractors = [ + rest_key_case_insensitive_extractor, + attribute_key_case_insensitive_extractor, + last_rest_key_case_insensitive_extractor, + ] + data = deserializer._deserialize(data_type, data) + except DeserializationError as err: + raise_with_traceback(SerializationError, "Unable to build a model: " + str(err), err) + + return self._serialize(data, data_type, **kwargs) + + def url(self, name, data, data_type, **kwargs): + """Serialize data intended for a URL path. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str + :raises: TypeError if serialization fails. + :raises: ValueError if data is None + """ + try: + output = self.serialize_data(data, data_type, **kwargs) + if data_type == "bool": + output = json.dumps(output) + + if kwargs.get("skip_quote") is True: + output = str(output) + else: + output = quote(str(output), safe="") + except SerializationError: + raise TypeError("{} must be type {}.".format(name, data_type)) + else: + return output + + def query(self, name, data, data_type, **kwargs): + """Serialize data intended for a URL query. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str + :raises: TypeError if serialization fails. + :raises: ValueError if data is None + """ + try: + # Treat the list aside, since we don't want to encode the div separator + if data_type.startswith("["): + internal_data_type = data_type[1:-1] + data = [self.serialize_data(d, internal_data_type, **kwargs) if d is not None else "" for d in data] + if not kwargs.get("skip_quote", False): + data = [quote(str(d), safe="") for d in data] + return str(self.serialize_iter(data, internal_data_type, **kwargs)) + + # Not a list, regular serialization + output = self.serialize_data(data, data_type, **kwargs) + if data_type == "bool": + output = json.dumps(output) + if kwargs.get("skip_quote") is True: + output = str(output) + else: + output = quote(str(output), safe="") + except SerializationError: + raise TypeError("{} must be type {}.".format(name, data_type)) + else: + return str(output) + + def header(self, name, data, data_type, **kwargs): + """Serialize data intended for a request header. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str + :raises: TypeError if serialization fails. + :raises: ValueError if data is None + """ + try: + if data_type in ["[str]"]: + data = ["" if d is None else d for d in data] + + output = self.serialize_data(data, data_type, **kwargs) + if data_type == "bool": + output = json.dumps(output) + except SerializationError: + raise TypeError("{} must be type {}.".format(name, data_type)) + else: + return str(output) + + def serialize_data(self, data, data_type, **kwargs): + """Serialize generic data according to supplied data type. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :param bool required: Whether it's essential that the data not be + empty or None + :raises: AttributeError if required data is None. + :raises: ValueError if data is None + :raises: SerializationError if serialization fails. + """ + if data is None: + raise ValueError("No value for given attribute") + + try: + if data is AzureCoreNull: + return None + if data_type in self.basic_types.values(): + return self.serialize_basic(data, data_type, **kwargs) + + elif data_type in self.serialize_type: + return self.serialize_type[data_type](data, **kwargs) + + # If dependencies is empty, try with current data class + # It has to be a subclass of Enum anyway + enum_type = self.dependencies.get(data_type, data.__class__) + if issubclass(enum_type, Enum): + return Serializer.serialize_enum(data, enum_obj=enum_type) + + iter_type = data_type[0] + data_type[-1] + if iter_type in self.serialize_type: + return self.serialize_type[iter_type](data, data_type[1:-1], **kwargs) + + except (ValueError, TypeError) as err: + msg = "Unable to serialize value: {!r} as type: {!r}." + raise_with_traceback(SerializationError, msg.format(data, data_type), err) + else: + return self._serialize(data, **kwargs) + + @classmethod + def _get_custom_serializers(cls, data_type, **kwargs): + custom_serializer = kwargs.get("basic_types_serializers", {}).get(data_type) + if custom_serializer: + return custom_serializer + if kwargs.get("is_xml", False): + return cls._xml_basic_types_serializers.get(data_type) + + @classmethod + def serialize_basic(cls, data, data_type, **kwargs): + """Serialize basic builting data type. + Serializes objects to str, int, float or bool. + + Possible kwargs: + - basic_types_serializers dict[str, callable] : If set, use the callable as serializer + - is_xml bool : If set, use xml_basic_types_serializers + + :param data: Object to be serialized. + :param str data_type: Type of object in the iterable. + """ + custom_serializer = cls._get_custom_serializers(data_type, **kwargs) + if custom_serializer: + return custom_serializer(data) + if data_type == "str": + return cls.serialize_unicode(data) + return eval(data_type)(data) # nosec + + @classmethod + def serialize_unicode(cls, data): + """Special handling for serializing unicode strings in Py2. + Encode to UTF-8 if unicode, otherwise handle as a str. + + :param data: Object to be serialized. + :rtype: str + """ + try: # If I received an enum, return its value + return data.value + except AttributeError: + pass + + try: + if isinstance(data, unicode): # type: ignore + # Don't change it, JSON and XML ElementTree are totally able + # to serialize correctly u'' strings + return data + except NameError: + return str(data) + else: + return str(data) + + def serialize_iter(self, data, iter_type, div=None, **kwargs): + """Serialize iterable. + + Supported kwargs: + - serialization_ctxt dict : The current entry of _attribute_map, or same format. + serialization_ctxt['type'] should be same as data_type. + - is_xml bool : If set, serialize as XML + + :param list attr: Object to be serialized. + :param str iter_type: Type of object in the iterable. + :param bool required: Whether the objects in the iterable must + not be None or empty. + :param str div: If set, this str will be used to combine the elements + in the iterable into a combined string. Default is 'None'. + :rtype: list, str + """ + if isinstance(data, str): + raise SerializationError("Refuse str type as a valid iter type.") + + serialization_ctxt = kwargs.get("serialization_ctxt", {}) + is_xml = kwargs.get("is_xml", False) + + serialized = [] + for d in data: + try: + serialized.append(self.serialize_data(d, iter_type, **kwargs)) + except ValueError: + serialized.append(None) + + if div: + serialized = ["" if s is None else str(s) for s in serialized] + serialized = div.join(serialized) + + if "xml" in serialization_ctxt or is_xml: + # XML serialization is more complicated + xml_desc = serialization_ctxt.get("xml", {}) + xml_name = xml_desc.get("name") + if not xml_name: + xml_name = serialization_ctxt["key"] + + # Create a wrap node if necessary (use the fact that Element and list have "append") + is_wrapped = xml_desc.get("wrapped", False) + node_name = xml_desc.get("itemsName", xml_name) + if is_wrapped: + final_result = _create_xml_node(xml_name, xml_desc.get("prefix", None), xml_desc.get("ns", None)) + else: + final_result = [] + # All list elements to "local_node" + for el in serialized: + if isinstance(el, ET.Element): + el_node = el + else: + el_node = _create_xml_node(node_name, xml_desc.get("prefix", None), xml_desc.get("ns", None)) + if el is not None: # Otherwise it writes "None" :-p + el_node.text = str(el) + final_result.append(el_node) + return final_result + return serialized + + def serialize_dict(self, attr, dict_type, **kwargs): + """Serialize a dictionary of objects. + + :param dict attr: Object to be serialized. + :param str dict_type: Type of object in the dictionary. + :param bool required: Whether the objects in the dictionary must + not be None or empty. + :rtype: dict + """ + serialization_ctxt = kwargs.get("serialization_ctxt", {}) + serialized = {} + for key, value in attr.items(): + try: + serialized[self.serialize_unicode(key)] = self.serialize_data(value, dict_type, **kwargs) + except ValueError: + serialized[self.serialize_unicode(key)] = None + + if "xml" in serialization_ctxt: + # XML serialization is more complicated + xml_desc = serialization_ctxt["xml"] + xml_name = xml_desc["name"] + + final_result = _create_xml_node(xml_name, xml_desc.get("prefix", None), xml_desc.get("ns", None)) + for key, value in serialized.items(): + ET.SubElement(final_result, key).text = value + return final_result + + return serialized + + def serialize_object(self, attr, **kwargs): + """Serialize a generic object. + This will be handled as a dictionary. If object passed in is not + a basic type (str, int, float, dict, list) it will simply be + cast to str. + + :param dict attr: Object to be serialized. + :rtype: dict or str + """ + if attr is None: + return None + if isinstance(attr, ET.Element): + return attr + obj_type = type(attr) + if obj_type in self.basic_types: + return self.serialize_basic(attr, self.basic_types[obj_type], **kwargs) + if obj_type is _long_type: + return self.serialize_long(attr) + if obj_type is unicode_str: + return self.serialize_unicode(attr) + if obj_type is datetime.datetime: + return self.serialize_iso(attr) + if obj_type is datetime.date: + return self.serialize_date(attr) + if obj_type is datetime.time: + return self.serialize_time(attr) + if obj_type is datetime.timedelta: + return self.serialize_duration(attr) + if obj_type is decimal.Decimal: + return self.serialize_decimal(attr) + + # If it's a model or I know this dependency, serialize as a Model + elif obj_type in self.dependencies.values() or isinstance(attr, Model): + return self._serialize(attr) + + if obj_type == dict: + serialized = {} + for key, value in attr.items(): + try: + serialized[self.serialize_unicode(key)] = self.serialize_object(value, **kwargs) + except ValueError: + serialized[self.serialize_unicode(key)] = None + return serialized + + if obj_type == list: + serialized = [] + for obj in attr: + try: + serialized.append(self.serialize_object(obj, **kwargs)) + except ValueError: + pass + return serialized + return str(attr) + + @staticmethod + def serialize_enum(attr, enum_obj=None): + try: + result = attr.value + except AttributeError: + result = attr + try: + enum_obj(result) # type: ignore + return result + except ValueError: + for enum_value in enum_obj: # type: ignore + if enum_value.value.lower() == str(attr).lower(): + return enum_value.value + error = "{!r} is not valid value for enum {!r}" + raise SerializationError(error.format(attr, enum_obj)) + + @staticmethod + def serialize_bytearray(attr, **kwargs): + """Serialize bytearray into base-64 string. + + :param attr: Object to be serialized. + :rtype: str + """ + return b64encode(attr).decode() + + @staticmethod + def serialize_base64(attr, **kwargs): + """Serialize str into base-64 string. + + :param attr: Object to be serialized. + :rtype: str + """ + encoded = b64encode(attr).decode("ascii") + return encoded.strip("=").replace("+", "-").replace("/", "_") + + @staticmethod + def serialize_decimal(attr, **kwargs): + """Serialize Decimal object to float. + + :param attr: Object to be serialized. + :rtype: float + """ + return float(attr) + + @staticmethod + def serialize_long(attr, **kwargs): + """Serialize long (Py2) or int (Py3). + + :param attr: Object to be serialized. + :rtype: int/long + """ + return _long_type(attr) + + @staticmethod + def serialize_date(attr, **kwargs): + """Serialize Date object into ISO-8601 formatted string. + + :param Date attr: Object to be serialized. + :rtype: str + """ + if isinstance(attr, str): + attr = isodate.parse_date(attr) + t = "{:04}-{:02}-{:02}".format(attr.year, attr.month, attr.day) + return t + + @staticmethod + def serialize_time(attr, **kwargs): + """Serialize Time object into ISO-8601 formatted string. + + :param datetime.time attr: Object to be serialized. + :rtype: str + """ + if isinstance(attr, str): + attr = isodate.parse_time(attr) + t = "{:02}:{:02}:{:02}".format(attr.hour, attr.minute, attr.second) + if attr.microsecond: + t += ".{:02}".format(attr.microsecond) + return t + + @staticmethod + def serialize_duration(attr, **kwargs): + """Serialize TimeDelta object into ISO-8601 formatted string. + + :param TimeDelta attr: Object to be serialized. + :rtype: str + """ + if isinstance(attr, str): + attr = isodate.parse_duration(attr) + return isodate.duration_isoformat(attr) + + @staticmethod + def serialize_rfc(attr, **kwargs): + """Serialize Datetime object into RFC-1123 formatted string. + + :param Datetime attr: Object to be serialized. + :rtype: str + :raises: TypeError if format invalid. + """ + try: + if not attr.tzinfo: + _LOGGER.warning("Datetime with no tzinfo will be considered UTC.") + utc = attr.utctimetuple() + except AttributeError: + raise TypeError("RFC1123 object must be valid Datetime object.") + + return "{}, {:02} {} {:04} {:02}:{:02}:{:02} GMT".format( + Serializer.days[utc.tm_wday], + utc.tm_mday, + Serializer.months[utc.tm_mon], + utc.tm_year, + utc.tm_hour, + utc.tm_min, + utc.tm_sec, + ) + + @staticmethod + def serialize_iso(attr, **kwargs): + """Serialize Datetime object into ISO-8601 formatted string. + + :param Datetime attr: Object to be serialized. + :rtype: str + :raises: SerializationError if format invalid. + """ + if isinstance(attr, str): + attr = isodate.parse_datetime(attr) + try: + if not attr.tzinfo: + _LOGGER.warning("Datetime with no tzinfo will be considered UTC.") + utc = attr.utctimetuple() + if utc.tm_year > 9999 or utc.tm_year < 1: + raise OverflowError("Hit max or min date") + + microseconds = str(attr.microsecond).rjust(6, "0").rstrip("0").ljust(3, "0") + if microseconds: + microseconds = "." + microseconds + date = "{:04}-{:02}-{:02}T{:02}:{:02}:{:02}".format( + utc.tm_year, utc.tm_mon, utc.tm_mday, utc.tm_hour, utc.tm_min, utc.tm_sec + ) + return date + microseconds + "Z" + except (ValueError, OverflowError) as err: + msg = "Unable to serialize datetime object." + raise_with_traceback(SerializationError, msg, err) + except AttributeError as err: + msg = "ISO-8601 object must be valid Datetime object." + raise_with_traceback(TypeError, msg, err) + + @staticmethod + def serialize_unix(attr, **kwargs): + """Serialize Datetime object into IntTime format. + This is represented as seconds. + + :param Datetime attr: Object to be serialized. + :rtype: int + :raises: SerializationError if format invalid + """ + if isinstance(attr, int): + return attr + try: + if not attr.tzinfo: + _LOGGER.warning("Datetime with no tzinfo will be considered UTC.") + return int(calendar.timegm(attr.utctimetuple())) + except AttributeError: + raise TypeError("Unix time object must be valid Datetime object.") + + +def rest_key_extractor(attr, attr_desc, data): + key = attr_desc["key"] + working_data = data + + while "." in key: + # Need the cast, as for some reasons "split" is typed as list[str | Any] + dict_keys = cast(List[str], _FLATTEN.split(key)) + if len(dict_keys) == 1: + key = _decode_attribute_map_key(dict_keys[0]) + break + working_key = _decode_attribute_map_key(dict_keys[0]) + working_data = working_data.get(working_key, data) + if working_data is None: + # If at any point while following flatten JSON path see None, it means + # that all properties under are None as well + # https://github.com/Azure/msrest-for-python/issues/197 + return None + key = ".".join(dict_keys[1:]) + + return working_data.get(key) + + +def rest_key_case_insensitive_extractor(attr, attr_desc, data): + key = attr_desc["key"] + working_data = data + + while "." in key: + dict_keys = _FLATTEN.split(key) + if len(dict_keys) == 1: + key = _decode_attribute_map_key(dict_keys[0]) + break + working_key = _decode_attribute_map_key(dict_keys[0]) + working_data = attribute_key_case_insensitive_extractor(working_key, None, working_data) + if working_data is None: + # If at any point while following flatten JSON path see None, it means + # that all properties under are None as well + # https://github.com/Azure/msrest-for-python/issues/197 + return None + key = ".".join(dict_keys[1:]) + + if working_data: + return attribute_key_case_insensitive_extractor(key, None, working_data) + + +def last_rest_key_extractor(attr, attr_desc, data): + """Extract the attribute in "data" based on the last part of the JSON path key.""" + key = attr_desc["key"] + dict_keys = _FLATTEN.split(key) + return attribute_key_extractor(dict_keys[-1], None, data) + + +def last_rest_key_case_insensitive_extractor(attr, attr_desc, data): + """Extract the attribute in "data" based on the last part of the JSON path key. + + This is the case insensitive version of "last_rest_key_extractor" + """ + key = attr_desc["key"] + dict_keys = _FLATTEN.split(key) + return attribute_key_case_insensitive_extractor(dict_keys[-1], None, data) + + +def attribute_key_extractor(attr, _, data): + return data.get(attr) + + +def attribute_key_case_insensitive_extractor(attr, _, data): + found_key = None + lower_attr = attr.lower() + for key in data: + if lower_attr == key.lower(): + found_key = key + break + + return data.get(found_key) + + +def _extract_name_from_internal_type(internal_type): + """Given an internal type XML description, extract correct XML name with namespace. + + :param dict internal_type: An model type + :rtype: tuple + :returns: A tuple XML name + namespace dict + """ + internal_type_xml_map = getattr(internal_type, "_xml_map", {}) + xml_name = internal_type_xml_map.get("name", internal_type.__name__) + xml_ns = internal_type_xml_map.get("ns", None) + if xml_ns: + xml_name = "{}{}".format(xml_ns, xml_name) + return xml_name + + +def xml_key_extractor(attr, attr_desc, data): + if isinstance(data, dict): + return None + + # Test if this model is XML ready first + if not isinstance(data, ET.Element): + return None + + xml_desc = attr_desc.get("xml", {}) + xml_name = xml_desc.get("name", attr_desc["key"]) + + # Look for a children + is_iter_type = attr_desc["type"].startswith("[") + is_wrapped = xml_desc.get("wrapped", False) + internal_type = attr_desc.get("internalType", None) + internal_type_xml_map = getattr(internal_type, "_xml_map", {}) + + # Integrate namespace if necessary + xml_ns = xml_desc.get("ns", internal_type_xml_map.get("ns", None)) + if xml_ns: + xml_name = "{}{}".format(xml_ns, xml_name) + + # If it's an attribute, that's simple + if xml_desc.get("attr", False): + return data.get(xml_name) + + # If it's x-ms-text, that's simple too + if xml_desc.get("text", False): + return data.text + + # Scenario where I take the local name: + # - Wrapped node + # - Internal type is an enum (considered basic types) + # - Internal type has no XML/Name node + if is_wrapped or (internal_type and (issubclass(internal_type, Enum) or "name" not in internal_type_xml_map)): + children = data.findall(xml_name) + # If internal type has a local name and it's not a list, I use that name + elif not is_iter_type and internal_type and "name" in internal_type_xml_map: + xml_name = _extract_name_from_internal_type(internal_type) + children = data.findall(xml_name) + # That's an array + else: + if internal_type: # Complex type, ignore itemsName and use the complex type name + items_name = _extract_name_from_internal_type(internal_type) + else: + items_name = xml_desc.get("itemsName", xml_name) + children = data.findall(items_name) + + if len(children) == 0: + if is_iter_type: + if is_wrapped: + return None # is_wrapped no node, we want None + else: + return [] # not wrapped, assume empty list + return None # Assume it's not there, maybe an optional node. + + # If is_iter_type and not wrapped, return all found children + if is_iter_type: + if not is_wrapped: + return children + else: # Iter and wrapped, should have found one node only (the wrap one) + if len(children) != 1: + raise DeserializationError( + "Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format( + xml_name + ) + ) + return list(children[0]) # Might be empty list and that's ok. + + # Here it's not a itertype, we should have found one element only or empty + if len(children) > 1: + raise DeserializationError("Find several XML '{}' where it was not expected".format(xml_name)) + return children[0] + + +class Deserializer(object): + """Response object model deserializer. + + :param dict classes: Class type dictionary for deserializing complex types. + :ivar list key_extractors: Ordered list of extractors to be used by this deserializer. + """ + + basic_types = {str: "str", int: "int", bool: "bool", float: "float"} + + valid_date = re.compile(r"\d{4}[-]\d{2}[-]\d{2}T\d{2}:\d{2}:\d{2}" r"\.?\d*Z?[-+]?[\d{2}]?:?[\d{2}]?") + + def __init__(self, classes: Optional[Mapping[str, Type[ModelType]]] = None): + self.deserialize_type = { + "iso-8601": Deserializer.deserialize_iso, + "rfc-1123": Deserializer.deserialize_rfc, + "unix-time": Deserializer.deserialize_unix, + "duration": Deserializer.deserialize_duration, + "date": Deserializer.deserialize_date, + "time": Deserializer.deserialize_time, + "decimal": Deserializer.deserialize_decimal, + "long": Deserializer.deserialize_long, + "bytearray": Deserializer.deserialize_bytearray, + "base64": Deserializer.deserialize_base64, + "object": self.deserialize_object, + "[]": self.deserialize_iter, + "{}": self.deserialize_dict, + } + self.deserialize_expected_types = { + "duration": (isodate.Duration, datetime.timedelta), + "iso-8601": (datetime.datetime), + } + self.dependencies: Dict[str, Type[ModelType]] = dict(classes) if classes else {} + self.key_extractors = [rest_key_extractor, xml_key_extractor] + # Additional properties only works if the "rest_key_extractor" is used to + # extract the keys. Making it to work whatever the key extractor is too much + # complicated, with no real scenario for now. + # So adding a flag to disable additional properties detection. This flag should be + # used if your expect the deserialization to NOT come from a JSON REST syntax. + # Otherwise, result are unexpected + self.additional_properties_detection = True + + def __call__(self, target_obj, response_data, content_type=None): + """Call the deserializer to process a REST response. + + :param str target_obj: Target data type to deserialize to. + :param requests.Response response_data: REST response object. + :param str content_type: Swagger "produces" if available. + :raises: DeserializationError if deserialization fails. + :return: Deserialized object. + """ + data = self._unpack_content(response_data, content_type) + return self._deserialize(target_obj, data) + + def _deserialize(self, target_obj, data): + """Call the deserializer on a model. + + Data needs to be already deserialized as JSON or XML ElementTree + + :param str target_obj: Target data type to deserialize to. + :param object data: Object to deserialize. + :raises: DeserializationError if deserialization fails. + :return: Deserialized object. + """ + # This is already a model, go recursive just in case + if hasattr(data, "_attribute_map"): + constants = [name for name, config in getattr(data, "_validation", {}).items() if config.get("constant")] + try: + for attr, mapconfig in data._attribute_map.items(): + if attr in constants: + continue + value = getattr(data, attr) + if value is None: + continue + local_type = mapconfig["type"] + internal_data_type = local_type.strip("[]{}") + if internal_data_type not in self.dependencies or isinstance(internal_data_type, Enum): + continue + setattr(data, attr, self._deserialize(local_type, value)) + return data + except AttributeError: + return + + response, class_name = self._classify_target(target_obj, data) + + if isinstance(response, basestring): + return self.deserialize_data(data, response) + elif isinstance(response, type) and issubclass(response, Enum): + return self.deserialize_enum(data, response) + + if data is None: + return data + try: + attributes = response._attribute_map # type: ignore + d_attrs = {} + for attr, attr_desc in attributes.items(): + # Check empty string. If it's not empty, someone has a real "additionalProperties"... + if attr == "additional_properties" and attr_desc["key"] == "": + continue + raw_value = None + # Enhance attr_desc with some dynamic data + attr_desc = attr_desc.copy() # Do a copy, do not change the real one + internal_data_type = attr_desc["type"].strip("[]{}") + if internal_data_type in self.dependencies: + attr_desc["internalType"] = self.dependencies[internal_data_type] + + for key_extractor in self.key_extractors: + found_value = key_extractor(attr, attr_desc, data) + if found_value is not None: + if raw_value is not None and raw_value != found_value: + msg = ( + "Ignoring extracted value '%s' from %s for key '%s'" + " (duplicate extraction, follow extractors order)" + ) + _LOGGER.warning(msg, found_value, key_extractor, attr) + continue + raw_value = found_value + + value = self.deserialize_data(raw_value, attr_desc["type"]) + d_attrs[attr] = value + except (AttributeError, TypeError, KeyError) as err: + msg = "Unable to deserialize to object: " + class_name # type: ignore + raise_with_traceback(DeserializationError, msg, err) + else: + additional_properties = self._build_additional_properties(attributes, data) + return self._instantiate_model(response, d_attrs, additional_properties) + + def _build_additional_properties(self, attribute_map, data): + if not self.additional_properties_detection: + return None + if "additional_properties" in attribute_map and attribute_map.get("additional_properties", {}).get("key") != "": + # Check empty string. If it's not empty, someone has a real "additionalProperties" + return None + if isinstance(data, ET.Element): + data = {el.tag: el.text for el in data} + + known_keys = { + _decode_attribute_map_key(_FLATTEN.split(desc["key"])[0]) + for desc in attribute_map.values() + if desc["key"] != "" + } + present_keys = set(data.keys()) + missing_keys = present_keys - known_keys + return {key: data[key] for key in missing_keys} + + def _classify_target(self, target, data): + """Check to see whether the deserialization target object can + be classified into a subclass. + Once classification has been determined, initialize object. + + :param str target: The target object type to deserialize to. + :param str/dict data: The response data to deserialize. + """ + if target is None: + return None, None + + if isinstance(target, basestring): + try: + target = self.dependencies[target] + except KeyError: + return target, target + + try: + target = target._classify(data, self.dependencies) + except AttributeError: + pass # Target is not a Model, no classify + return target, target.__class__.__name__ # type: ignore + + def failsafe_deserialize(self, target_obj, data, content_type=None): + """Ignores any errors encountered in deserialization, + and falls back to not deserializing the object. Recommended + for use in error deserialization, as we want to return the + HttpResponseError to users, and not have them deal with + a deserialization error. + + :param str target_obj: The target object type to deserialize to. + :param str/dict data: The response data to deserialize. + :param str content_type: Swagger "produces" if available. + """ + try: + return self(target_obj, data, content_type=content_type) + except: + _LOGGER.debug( + "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True + ) + return None + + @staticmethod + def _unpack_content(raw_data, content_type=None): + """Extract the correct structure for deserialization. + + If raw_data is a PipelineResponse, try to extract the result of RawDeserializer. + if we can't, raise. Your Pipeline should have a RawDeserializer. + + If not a pipeline response and raw_data is bytes or string, use content-type + to decode it. If no content-type, try JSON. + + If raw_data is something else, bypass all logic and return it directly. + + :param raw_data: Data to be processed. + :param content_type: How to parse if raw_data is a string/bytes. + :raises JSONDecodeError: If JSON is requested and parsing is impossible. + :raises UnicodeDecodeError: If bytes is not UTF8 + """ + # Assume this is enough to detect a Pipeline Response without importing it + context = getattr(raw_data, "context", {}) + if context: + if RawDeserializer.CONTEXT_NAME in context: + return context[RawDeserializer.CONTEXT_NAME] + raise ValueError("This pipeline didn't have the RawDeserializer policy; can't deserialize") + + # Assume this is enough to recognize universal_http.ClientResponse without importing it + if hasattr(raw_data, "body"): + return RawDeserializer.deserialize_from_http_generics(raw_data.text(), raw_data.headers) + + # Assume this enough to recognize requests.Response without importing it. + if hasattr(raw_data, "_content_consumed"): + return RawDeserializer.deserialize_from_http_generics(raw_data.text, raw_data.headers) + + if isinstance(raw_data, (basestring, bytes)) or hasattr(raw_data, "read"): + return RawDeserializer.deserialize_from_text(raw_data, content_type) # type: ignore + return raw_data + + def _instantiate_model(self, response, attrs, additional_properties=None): + """Instantiate a response model passing in deserialized args. + + :param response: The response model class. + :param d_attrs: The deserialized response attributes. + """ + if callable(response): + subtype = getattr(response, "_subtype_map", {}) + try: + readonly = [k for k, v in response._validation.items() if v.get("readonly")] + const = [k for k, v in response._validation.items() if v.get("constant")] + kwargs = {k: v for k, v in attrs.items() if k not in subtype and k not in readonly + const} + response_obj = response(**kwargs) + for attr in readonly: + setattr(response_obj, attr, attrs.get(attr)) + if additional_properties: + response_obj.additional_properties = additional_properties + return response_obj + except TypeError as err: + msg = "Unable to deserialize {} into model {}. ".format(kwargs, response) # type: ignore + raise DeserializationError(msg + str(err)) + else: + try: + for attr, value in attrs.items(): + setattr(response, attr, value) + return response + except Exception as exp: + msg = "Unable to populate response model. " + msg += "Type: {}, Error: {}".format(type(response), exp) + raise DeserializationError(msg) + + def deserialize_data(self, data, data_type): + """Process data for deserialization according to data type. + + :param str data: The response string to be deserialized. + :param str data_type: The type to deserialize to. + :raises: DeserializationError if deserialization fails. + :return: Deserialized object. + """ + if data is None: + return data + + try: + if not data_type: + return data + if data_type in self.basic_types.values(): + return self.deserialize_basic(data, data_type) + if data_type in self.deserialize_type: + if isinstance(data, self.deserialize_expected_types.get(data_type, tuple())): + return data + + is_a_text_parsing_type = lambda x: x not in ["object", "[]", r"{}"] + if isinstance(data, ET.Element) and is_a_text_parsing_type(data_type) and not data.text: + return None + data_val = self.deserialize_type[data_type](data) + return data_val + + iter_type = data_type[0] + data_type[-1] + if iter_type in self.deserialize_type: + return self.deserialize_type[iter_type](data, data_type[1:-1]) + + obj_type = self.dependencies[data_type] + if issubclass(obj_type, Enum): + if isinstance(data, ET.Element): + data = data.text + return self.deserialize_enum(data, obj_type) + + except (ValueError, TypeError, AttributeError) as err: + msg = "Unable to deserialize response data." + msg += " Data: {}, {}".format(data, data_type) + raise_with_traceback(DeserializationError, msg, err) + else: + return self._deserialize(obj_type, data) + + def deserialize_iter(self, attr, iter_type): + """Deserialize an iterable. + + :param list attr: Iterable to be deserialized. + :param str iter_type: The type of object in the iterable. + :rtype: list + """ + if attr is None: + return None + if isinstance(attr, ET.Element): # If I receive an element here, get the children + attr = list(attr) + if not isinstance(attr, (list, set)): + raise DeserializationError("Cannot deserialize as [{}] an object of type {}".format(iter_type, type(attr))) + return [self.deserialize_data(a, iter_type) for a in attr] + + def deserialize_dict(self, attr, dict_type): + """Deserialize a dictionary. + + :param dict/list attr: Dictionary to be deserialized. Also accepts + a list of key, value pairs. + :param str dict_type: The object type of the items in the dictionary. + :rtype: dict + """ + if isinstance(attr, list): + return {x["key"]: self.deserialize_data(x["value"], dict_type) for x in attr} + + if isinstance(attr, ET.Element): + # Transform value into {"Key": "value"} + attr = {el.tag: el.text for el in attr} + return {k: self.deserialize_data(v, dict_type) for k, v in attr.items()} + + def deserialize_object(self, attr, **kwargs): + """Deserialize a generic object. + This will be handled as a dictionary. + + :param dict attr: Dictionary to be deserialized. + :rtype: dict + :raises: TypeError if non-builtin datatype encountered. + """ + if attr is None: + return None + if isinstance(attr, ET.Element): + # Do no recurse on XML, just return the tree as-is + return attr + if isinstance(attr, basestring): + return self.deserialize_basic(attr, "str") + obj_type = type(attr) + if obj_type in self.basic_types: + return self.deserialize_basic(attr, self.basic_types[obj_type]) + if obj_type is _long_type: + return self.deserialize_long(attr) + + if obj_type == dict: + deserialized = {} + for key, value in attr.items(): + try: + deserialized[key] = self.deserialize_object(value, **kwargs) + except ValueError: + deserialized[key] = None + return deserialized + + if obj_type == list: + deserialized = [] + for obj in attr: + try: + deserialized.append(self.deserialize_object(obj, **kwargs)) + except ValueError: + pass + return deserialized + + else: + error = "Cannot deserialize generic object with type: " + raise TypeError(error + str(obj_type)) + + def deserialize_basic(self, attr, data_type): + """Deserialize basic builtin data type from string. + Will attempt to convert to str, int, float and bool. + This function will also accept '1', '0', 'true' and 'false' as + valid bool values. + + :param str attr: response string to be deserialized. + :param str data_type: deserialization data type. + :rtype: str, int, float or bool + :raises: TypeError if string format is not valid. + """ + # If we're here, data is supposed to be a basic type. + # If it's still an XML node, take the text + if isinstance(attr, ET.Element): + attr = attr.text + if not attr: + if data_type == "str": + # None or '', node is empty string. + return "" + else: + # None or '', node with a strong type is None. + # Don't try to model "empty bool" or "empty int" + return None + + if data_type == "bool": + if attr in [True, False, 1, 0]: + return bool(attr) + elif isinstance(attr, basestring): + if attr.lower() in ["true", "1"]: + return True + elif attr.lower() in ["false", "0"]: + return False + raise TypeError("Invalid boolean value: {}".format(attr)) + + if data_type == "str": + return self.deserialize_unicode(attr) + return eval(data_type)(attr) # nosec + + @staticmethod + def deserialize_unicode(data): + """Preserve unicode objects in Python 2, otherwise return data + as a string. + + :param str data: response string to be deserialized. + :rtype: str or unicode + """ + # We might be here because we have an enum modeled as string, + # and we try to deserialize a partial dict with enum inside + if isinstance(data, Enum): + return data + + # Consider this is real string + try: + if isinstance(data, unicode): # type: ignore + return data + except NameError: + return str(data) + else: + return str(data) + + @staticmethod + def deserialize_enum(data, enum_obj): + """Deserialize string into enum object. + + If the string is not a valid enum value it will be returned as-is + and a warning will be logged. + + :param str data: Response string to be deserialized. If this value is + None or invalid it will be returned as-is. + :param Enum enum_obj: Enum object to deserialize to. + :rtype: Enum + """ + if isinstance(data, enum_obj) or data is None: + return data + if isinstance(data, Enum): + data = data.value + if isinstance(data, int): + # Workaround. We might consider remove it in the future. + # https://github.com/Azure/azure-rest-api-specs/issues/141 + try: + return list(enum_obj.__members__.values())[data] + except IndexError: + error = "{!r} is not a valid index for enum {!r}" + raise DeserializationError(error.format(data, enum_obj)) + try: + return enum_obj(str(data)) + except ValueError: + for enum_value in enum_obj: + if enum_value.value.lower() == str(data).lower(): + return enum_value + # We don't fail anymore for unknown value, we deserialize as a string + _LOGGER.warning("Deserializer is not able to find %s as valid enum in %s", data, enum_obj) + return Deserializer.deserialize_unicode(data) + + @staticmethod + def deserialize_bytearray(attr): + """Deserialize string into bytearray. + + :param str attr: response string to be deserialized. + :rtype: bytearray + :raises: TypeError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + return bytearray(b64decode(attr)) # type: ignore + + @staticmethod + def deserialize_base64(attr): + """Deserialize base64 encoded string into string. + + :param str attr: response string to be deserialized. + :rtype: bytearray + :raises: TypeError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + padding = "=" * (3 - (len(attr) + 3) % 4) # type: ignore + attr = attr + padding # type: ignore + encoded = attr.replace("-", "+").replace("_", "/") + return b64decode(encoded) + + @staticmethod + def deserialize_decimal(attr): + """Deserialize string into Decimal object. + + :param str attr: response string to be deserialized. + :rtype: Decimal + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + return decimal.Decimal(attr) # type: ignore + except decimal.DecimalException as err: + msg = "Invalid decimal {}".format(attr) + raise_with_traceback(DeserializationError, msg, err) + + @staticmethod + def deserialize_long(attr): + """Deserialize string into long (Py2) or int (Py3). + + :param str attr: response string to be deserialized. + :rtype: long or int + :raises: ValueError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + return _long_type(attr) # type: ignore + + @staticmethod + def deserialize_duration(attr): + """Deserialize ISO-8601 formatted string into TimeDelta object. + + :param str attr: response string to be deserialized. + :rtype: TimeDelta + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + duration = isodate.parse_duration(attr) + except (ValueError, OverflowError, AttributeError) as err: + msg = "Cannot deserialize duration object." + raise_with_traceback(DeserializationError, msg, err) + else: + return duration + + @staticmethod + def deserialize_date(attr): + """Deserialize ISO-8601 formatted string into Date object. + + :param str attr: response string to be deserialized. + :rtype: Date + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + if re.search(r"[^\W\d_]", attr, re.I + re.U): # type: ignore + raise DeserializationError("Date must have only digits and -. Received: %s" % attr) + # This must NOT use defaultmonth/defaultday. Using None ensure this raises an exception. + return isodate.parse_date(attr, defaultmonth=None, defaultday=None) + + @staticmethod + def deserialize_time(attr): + """Deserialize ISO-8601 formatted string into time object. + + :param str attr: response string to be deserialized. + :rtype: datetime.time + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + if re.search(r"[^\W\d_]", attr, re.I + re.U): # type: ignore + raise DeserializationError("Date must have only digits and -. Received: %s" % attr) + return isodate.parse_time(attr) + + @staticmethod + def deserialize_rfc(attr): + """Deserialize RFC-1123 formatted string into Datetime object. + + :param str attr: response string to be deserialized. + :rtype: Datetime + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + parsed_date = email.utils.parsedate_tz(attr) # type: ignore + date_obj = datetime.datetime( + *parsed_date[:6], tzinfo=_FixedOffset(datetime.timedelta(minutes=(parsed_date[9] or 0) / 60)) + ) + if not date_obj.tzinfo: + date_obj = date_obj.astimezone(tz=TZ_UTC) + except ValueError as err: + msg = "Cannot deserialize to rfc datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj + + @staticmethod + def deserialize_iso(attr): + """Deserialize ISO-8601 formatted string into Datetime object. + + :param str attr: response string to be deserialized. + :rtype: Datetime + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + attr = attr.upper() # type: ignore + match = Deserializer.valid_date.match(attr) + if not match: + raise ValueError("Invalid datetime string: " + attr) + + check_decimal = attr.split(".") + if len(check_decimal) > 1: + decimal_str = "" + for digit in check_decimal[1]: + if digit.isdigit(): + decimal_str += digit + else: + break + if len(decimal_str) > 6: + attr = attr.replace(decimal_str, decimal_str[0:6]) + + date_obj = isodate.parse_datetime(attr) + test_utc = date_obj.utctimetuple() + if test_utc.tm_year > 9999 or test_utc.tm_year < 1: + raise OverflowError("Hit max or min date") + except (ValueError, OverflowError, AttributeError) as err: + msg = "Cannot deserialize datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj + + @staticmethod + def deserialize_unix(attr): + """Serialize Datetime object into IntTime format. + This is represented as seconds. + + :param int attr: Object to be serialized. + :rtype: Datetime + :raises: DeserializationError if format invalid + """ + if isinstance(attr, ET.Element): + attr = int(attr.text) # type: ignore + try: + date_obj = datetime.datetime.fromtimestamp(attr, TZ_UTC) + except ValueError as err: + msg = "Cannot deserialize to unix datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj diff --git a/src/amg/azext_amg/vendored_sdks/_vendor.py b/src/amg/azext_amg/vendored_sdks/_vendor.py index 138f663c53..bd0df84f53 100644 --- a/src/amg/azext_amg/vendored_sdks/_vendor.py +++ b/src/amg/azext_amg/vendored_sdks/_vendor.py @@ -5,8 +5,11 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import List, cast + from azure.core.pipeline.transport import HttpRequest + def _convert_request(request, files=None): data = request.content if not files else None request = HttpRequest(method=request.method, url=request.url, headers=request.headers, data=data) @@ -14,14 +17,14 @@ def _convert_request(request, files=None): request.set_formdata_body(files) return request + def _format_url_section(template, **kwargs): components = template.split("/") while components: try: return template.format(**kwargs) except KeyError as key: - formatted_components = template.split("/") - components = [ - c for c in formatted_components if "{}".format(key.args[0]) not in c - ] + # Need the cast, as for some reasons "split" is typed as list[str | Any] + formatted_components = cast(List[str], template.split("/")) + components = [c for c in formatted_components if "{}".format(key.args[0]) not in c] template = "/".join(components) diff --git a/src/amg/azext_amg/vendored_sdks/aio/__init__.py b/src/amg/azext_amg/vendored_sdks/aio/__init__.py index 567e0d55d5..8bdec1a5be 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/__init__.py +++ b/src/amg/azext_amg/vendored_sdks/aio/__init__.py @@ -10,11 +10,14 @@ try: from ._patch import __all__ as _patch_all - from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import + from ._patch import * # pylint: disable=unused-wildcard-import except ImportError: _patch_all = [] from ._patch import patch_sdk as _patch_sdk -__all__ = ['DashboardManagementClient'] + +__all__ = [ + "DashboardManagementClient", +] __all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() diff --git a/src/amg/azext_amg/vendored_sdks/aio/_configuration.py b/src/amg/azext_amg/vendored_sdks/aio/_configuration.py index ac8bc6ad3e..b95f1d741e 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/_configuration.py +++ b/src/amg/azext_amg/vendored_sdks/aio/_configuration.py @@ -6,6 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import sys from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration @@ -14,6 +15,11 @@ from .._version import VERSION +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports + if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential @@ -25,23 +31,18 @@ class DashboardManagementClientConfiguration(Configuration): # pylint: disable= Note that all parameters used to create this instance are saved as instance attributes. - :param credential: Credential needed for the client to connect to Azure. + :param credential: Credential needed for the client to connect to Azure. Required. :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. + :param subscription_id: The ID of the target subscription. Required. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2022-08-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2022-10-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str """ - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: + def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None: super(DashboardManagementClientConfiguration, self).__init__(**kwargs) - api_version = kwargs.pop('api_version', "2022-08-01") # type: str + api_version: Literal["2022-10-01-preview"] = kwargs.pop("api_version", "2022-10-01-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") @@ -51,22 +52,21 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = api_version - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'mgmt-dashboard/{}'.format(VERSION)) + self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"]) + kwargs.setdefault("sdk_moniker", "mgmt-dashboard/{}".format(VERSION)) self._configure(**kwargs) - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') + def _configure(self, **kwargs: Any) -> None: + self.user_agent_policy = kwargs.get("user_agent_policy") or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get("logging_policy") or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get("http_logging_policy") or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get("retry_policy") or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get("custom_hook_policy") or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get("redirect_policy") or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") if self.credential and not self.authentication_policy: - self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy( + self.credential, *self.credential_scopes, **kwargs + ) diff --git a/src/amg/azext_amg/vendored_sdks/aio/_dashboard_management_client.py b/src/amg/azext_amg/vendored_sdks/aio/_dashboard_management_client.py index 1d59ec7ad1..b5e5140cca 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/_dashboard_management_client.py +++ b/src/amg/azext_amg/vendored_sdks/aio/_dashboard_management_client.py @@ -9,20 +9,26 @@ from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING -from msrest import Deserializer, Serializer - from azure.core.rest import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient -from .. import models +from .. import models as _models +from .._serialization import Deserializer, Serializer from ._configuration import DashboardManagementClientConfiguration -from .operations import GrafanaOperations, Operations, PrivateEndpointConnectionsOperations, PrivateLinkResourcesOperations +from .operations import ( + EnterpriseDetailsOperations, + GrafanaOperations, + Operations, + PrivateEndpointConnectionsOperations, + PrivateLinkResourcesOperations, +) if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -class DashboardManagementClient: + +class DashboardManagementClient: # pylint: disable=client-accepts-api-version-keyword """The Microsoft.Dashboard Rest API spec. :ivar operations: Operations operations @@ -35,14 +41,16 @@ class DashboardManagementClient: :ivar private_link_resources: PrivateLinkResourcesOperations operations :vartype private_link_resources: azure.mgmt.dashboard.aio.operations.PrivateLinkResourcesOperations - :param credential: Credential needed for the client to connect to Azure. + :ivar enterprise_details: EnterpriseDetailsOperations operations + :vartype enterprise_details: azure.mgmt.dashboard.aio.operations.EnterpriseDetailsOperations + :param credential: Credential needed for the client to connect to Azure. Required. :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. + :param subscription_id: The ID of the target subscription. Required. :type subscription_id: str :param base_url: Service URL. Default value is "https://management.azure.com". :type base_url: str - :keyword api_version: Api Version. Default value is "2022-08-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2022-10-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. @@ -55,32 +63,28 @@ def __init__( base_url: str = "https://management.azure.com", **kwargs: Any ) -> None: - self._config = DashboardManagementClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._config = DashboardManagementClientConfiguration( + credential=credential, subscription_id=subscription_id, **kwargs + ) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self._serialize.client_side_validation = False - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize - ) - self.grafana = GrafanaOperations( - self._client, self._config, self._serialize, self._deserialize - ) + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.grafana = GrafanaOperations(self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize ) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize ) + self.enterprise_details = EnterpriseDetailsOperations( + self._client, self._config, self._serialize, self._deserialize + ) - - def _send_request( - self, - request: HttpRequest, - **kwargs: Any - ) -> Awaitable[AsyncHttpResponse]: + def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]: """Runs the network request through the client's chained policies. >>> from azure.core.rest import HttpRequest @@ -89,7 +93,7 @@ def _send_request( >>> response = await client._send_request(request) - For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + For more information on this code flow, see https://aka.ms/azsdk/dpcodegen/python/send_request :param request: The network request you want to make. Required. :type request: ~azure.core.rest.HttpRequest diff --git a/src/amg/azext_amg/vendored_sdks/aio/_patch.py b/src/amg/azext_amg/vendored_sdks/aio/_patch.py index 74e48ecd07..f99e77fef9 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/_patch.py +++ b/src/amg/azext_amg/vendored_sdks/aio/_patch.py @@ -28,4 +28,4 @@ # This file is used for handwritten extensions to the generated code. Example: # https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md def patch_sdk(): - pass \ No newline at end of file + pass diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/__init__.py b/src/amg/azext_amg/vendored_sdks/aio/operations/__init__.py index 84f1e6551d..bfe490efcf 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/operations/__init__.py +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/__init__.py @@ -10,15 +10,18 @@ from ._grafana_operations import GrafanaOperations from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._enterprise_details_operations import EnterpriseDetailsOperations from ._patch import __all__ as _patch_all -from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import * # pylint: disable=unused-wildcard-import from ._patch import patch_sdk as _patch_sdk + __all__ = [ - 'Operations', - 'GrafanaOperations', - 'PrivateEndpointConnectionsOperations', - 'PrivateLinkResourcesOperations', + "Operations", + "GrafanaOperations", + "PrivateEndpointConnectionsOperations", + "PrivateLinkResourcesOperations", + "EnterpriseDetailsOperations", ] __all__.extend([p for p in _patch_all if p not in __all__]) -_patch_sdk() \ No newline at end of file +_patch_sdk() diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/_enterprise_details_operations.py b/src/amg/azext_amg/vendored_sdks/aio/operations/_enterprise_details_operations.py new file mode 100644 index 0000000000..c1cd5da938 --- /dev/null +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/_enterprise_details_operations.py @@ -0,0 +1,122 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import sys +from typing import Any, Callable, Dict, Optional, TypeVar + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.utils import case_insensitive_dict +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._enterprise_details_operations import build_post_request + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + + +class EnterpriseDetailsOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure.mgmt.dashboard.aio.DashboardManagementClient`'s + :attr:`enterprise_details` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + @distributed_trace_async + async def post(self, resource_group_name: str, workspace_name: str, **kwargs: Any) -> _models.EnterpriseDetails: + """Retrieve enterprise add-on details information. + + Retrieve enterprise add-on details information. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: EnterpriseDetails or the result of cls(response) + :rtype: ~azure.mgmt.dashboard.models.EnterpriseDetails + :raises ~azure.core.exceptions.HttpResponseError: + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.EnterpriseDetails] = kwargs.pop("cls", None) + + request = build_post_request( + resource_group_name=resource_group_name, + workspace_name=workspace_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.post.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize("EnterpriseDetails", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + post.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/checkEnterpriseDetails" + } diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/_grafana_operations.py b/src/amg/azext_amg/vendored_sdks/aio/operations/_grafana_operations.py index a96ea35a5a..862db6dbbf 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/operations/_grafana_operations.py +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/_grafana_operations.py @@ -6,10 +6,19 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union, cast +import sys +from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload +import urllib.parse from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -22,10 +31,23 @@ from ... import models as _models from ..._vendor import _convert_request -from ...operations._grafana_operations import build_create_request_initial, build_delete_request_initial, build_get_request, build_list_by_resource_group_request, build_list_request, build_update_request -T = TypeVar('T') +from ...operations._grafana_operations import ( + build_create_request, + build_delete_request, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + class GrafanaOperations: """ .. warning:: @@ -45,57 +67,61 @@ def __init__(self, *args, **kwargs) -> None: self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace - def list( - self, - **kwargs: Any - ) -> AsyncIterable[_models.ManagedGrafanaListResponse]: + def list(self, **kwargs: Any) -> AsyncIterable["_models.ManagedGrafana"]: """List all resources of workspaces for Grafana under the specified subscription. List all resources of workspaces for Grafana under the specified subscription. :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedGrafanaListResponse or the result of - cls(response) - :rtype: - ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.ManagedGrafanaListResponse] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either ManagedGrafana or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafanaListResponse] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.ManagedGrafanaListResponse] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - subscription_id=self._config.subscription_id, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -103,16 +129,14 @@ async def extract_data(pipeline_response): deserialized = self._deserialize("ManagedGrafanaListResponse", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, AsyncList(list_of_elem) async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -123,67 +147,71 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged(get_next, extract_data) - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana"} # type: ignore + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana"} @distributed_trace def list_by_resource_group( - self, - resource_group_name: str, - **kwargs: Any - ) -> AsyncIterable[_models.ManagedGrafanaListResponse]: + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.ManagedGrafana"]: """List all resources of workspaces for Grafana under the specified resource group. List all resources of workspaces for Grafana under the specified resource group. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedGrafanaListResponse or the result of - cls(response) - :rtype: - ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.ManagedGrafanaListResponse] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either ManagedGrafana or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafanaListResponse] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.ManagedGrafanaListResponse] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_by_resource_group_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list_by_resource_group.metadata['url'], + template_url=self.list_by_resource_group.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_by_resource_group_request( - subscription_id=self._config.subscription_id, - resource_group_name=resource_group_name, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -191,16 +219,14 @@ async def extract_data(pipeline_response): deserialized = self._deserialize("ManagedGrafanaListResponse", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, AsyncList(list_of_elem) async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -211,61 +237,60 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged(get_next, extract_data) - return AsyncItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana"} # type: ignore + list_by_resource_group.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana" + } @distributed_trace_async - async def get( - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> _models.ManagedGrafana: + async def get(self, resource_group_name: str, workspace_name: str, **kwargs: Any) -> _models.ManagedGrafana: """Get the properties of a specific workspace for Grafana resource. Get the properties of a specific workspace for Grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedGrafana, or the result of cls(response) + :return: ManagedGrafana or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) - request = build_get_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.get.metadata['url'], + template_url=self.get.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200]: @@ -273,82 +298,98 @@ async def get( error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore - + get.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } async def _create_initial( self, resource_group_name: str, workspace_name: str, - request_body_parameters: _models.ManagedGrafana, + request_body_parameters: Union[_models.ManagedGrafana, IO], **kwargs: Any ) -> _models.ManagedGrafana: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] - - _json = self._serialize.body(request_body_parameters, 'ManagedGrafana') - - request = build_create_request_initial( - subscription_id=self._config.subscription_id, + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) + + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(request_body_parameters, (IO, bytes)): + _content = request_body_parameters + else: + _json = self._serialize.body(request_body_parameters, "ManagedGrafana") + + request = build_create_request( resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, content_type=content_type, json=_json, - template_url=self._create_initial.metadata['url'], + content=_content, + template_url=self._create_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if response.status_code == 201: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) # type: ignore - return deserialized - - _create_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + return deserialized # type: ignore + _create_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } - @distributed_trace_async + @overload async def begin_create( self, resource_group_name: str, workspace_name: str, request_body_parameters: _models.ManagedGrafana, + *, + content_type: str = "application/json", **kwargs: Any ) -> AsyncLROPoller[_models.ManagedGrafana]: """Create or update a workspace for Grafana resource. This API is idempotent, so user can either @@ -358,11 +399,15 @@ async def begin_create( create a new grafana or update an existing grafana. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str - :param request_body_parameters: + :param request_body_parameters: Required. :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafana + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for @@ -374,67 +419,147 @@ async def begin_create( :return: An instance of AsyncLROPoller that returns either ManagedGrafana or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.dashboard.models.ManagedGrafana] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + async def begin_create( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: IO, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[_models.ManagedGrafana]: + """Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Required. + :type request_body_parameters: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ManagedGrafana or the result of + cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: Union[_models.ManagedGrafana, IO], + **kwargs: Any + ) -> AsyncLROPoller[_models.ManagedGrafana]: + """Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Is either a model type or a IO type. Required. + :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafana or IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ManagedGrafana or the result of + cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) + polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: - raw_result = await self._create_initial( # type: ignore + raw_result = await self._create_initial( resource_group_name=resource_group_name, workspace_name=workspace_name, request_body_parameters=request_body_parameters, api_version=api_version, content_type=content_type, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: - polling_method = cast(AsyncPollingMethod, AsyncARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: AsyncPollingMethod - elif polling is False: polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) - else: polling_method = polling + polling_method: AsyncPollingMethod = cast( + AsyncPollingMethod, + AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs), + ) + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling if cont_token: return AsyncLROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_create.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + begin_create.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } - @distributed_trace_async + @overload async def update( self, resource_group_name: str, workspace_name: str, request_body_parameters: _models.ManagedGrafanaUpdateParameters, + *, + content_type: str = "application/json", **kwargs: Any ) -> _models.ManagedGrafana: """Update a workspace for Grafana resource. @@ -442,49 +567,123 @@ async def update( Update a workspace for Grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str - :param request_body_parameters: + :param request_body_parameters: Required. :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafanaUpdateParameters + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedGrafana or the result of cls(response) + :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + async def update( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: IO, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> _models.ManagedGrafana: + """Update a workspace for Grafana resource. + + Update a workspace for Grafana resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Required. + :type request_body_parameters: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedGrafana, or the result of cls(response) + :return: ManagedGrafana or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: Union[_models.ManagedGrafanaUpdateParameters, IO], + **kwargs: Any + ) -> _models.ManagedGrafana: + """Update a workspace for Grafana resource. + + Update a workspace for Grafana resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Is either a model type or a IO type. Required. + :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafanaUpdateParameters or + IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedGrafana or the result of cls(response) + :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) - _json = self._serialize.body(request_body_parameters, 'ManagedGrafanaUpdateParameters') + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(request_body_parameters, (IO, bytes)): + _content = request_body_parameters + else: + _json = self._serialize.body(request_body_parameters, "ManagedGrafanaUpdateParameters") request = build_update_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, content_type=content_type, json=_json, - template_url=self.update.metadata['url'], + content=_content, + template_url=self.update.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200, 202]: @@ -493,80 +692,79 @@ async def update( raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if response.status_code == 202: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized + return cls(pipeline_response, deserialized, {}) # type: ignore - update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + return deserialized # type: ignore + update.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } async def _delete_initial( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, **kwargs: Any ) -> None: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[None] = kwargs.pop("cls", None) - - request = build_delete_request_initial( - subscription_id=self._config.subscription_id, + request = build_delete_request( resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self._delete_initial.metadata['url'], + template_url=self._delete_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore - + _delete_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } @distributed_trace_async - async def begin_delete( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> AsyncLROPoller[None]: + async def begin_delete(self, resource_group_name: str, workspace_name: str, **kwargs: Any) -> AsyncLROPoller[None]: """Delete a workspace for Grafana resource. Delete a workspace for Grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -578,52 +776,52 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + cls: ClsType[None] = kwargs.pop("cls", None) + polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: raw_result = await self._delete_initial( # type: ignore resource_group_name=resource_group_name, workspace_name=workspace_name, api_version=api_version, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) - def get_long_running_output(pipeline_response): + def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements if cls: return cls(pipeline_response, None, {}) - if polling is True: - polling_method = cast(AsyncPollingMethod, AsyncARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: AsyncPollingMethod - elif polling is False: polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) - else: polling_method = polling + polling_method: AsyncPollingMethod = cast( + AsyncPollingMethod, + AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs), + ) + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling if cont_token: return AsyncLROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + begin_delete.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/_operations.py b/src/amg/azext_amg/vendored_sdks/aio/operations/_operations.py index 74d119b9cf..b55d14bb5b 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/operations/_operations.py +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/_operations.py @@ -6,10 +6,19 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import sys from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar +import urllib.parse from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.rest import HttpRequest @@ -20,9 +29,15 @@ from ... import models as _models from ..._vendor import _convert_request from ...operations._operations import build_list_request -T = TypeVar('T') + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + class Operations: """ .. warning:: @@ -42,54 +57,60 @@ def __init__(self, *args, **kwargs) -> None: self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace - def list( - self, - **kwargs: Any - ) -> AsyncIterable[_models.OperationListResult]: + def list(self, **kwargs: Any) -> AsyncIterable["_models.Operation"]: """List all available API operations provided by Microsoft.Dashboard. List all available API operations provided by Microsoft.Dashboard. :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: - ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.OperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either Operation or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.Operation] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.OperationListResult] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.OperationListResult] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -97,16 +118,14 @@ async def extract_data(pipeline_response): deserialized = self._deserialize("OperationListResult", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, AsyncList(list_of_elem) async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -117,8 +136,6 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged(get_next, extract_data) - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/providers/Microsoft.Dashboard/operations"} # type: ignore + list.metadata = {"url": "/providers/Microsoft.Dashboard/operations"} diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/_patch.py b/src/amg/azext_amg/vendored_sdks/aio/operations/_patch.py index 0ad201a8c5..f7dd325103 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/operations/_patch.py +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/_patch.py @@ -10,6 +10,7 @@ __all__: List[str] = [] # Add all objects you want publicly available to users at this package level + def patch_sdk(): """Do not remove from this file. diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/_private_endpoint_connections_operations.py b/src/amg/azext_amg/vendored_sdks/aio/operations/_private_endpoint_connections_operations.py index fd82b46352..f049d981e6 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/operations/_private_endpoint_connections_operations.py +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/_private_endpoint_connections_operations.py @@ -6,10 +6,19 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union, cast +import sys +from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload +import urllib.parse from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -22,10 +31,21 @@ from ... import models as _models from ..._vendor import _convert_request -from ...operations._private_endpoint_connections_operations import build_approve_request_initial, build_delete_request_initial, build_get_request, build_list_request -T = TypeVar('T') +from ...operations._private_endpoint_connections_operations import ( + build_approve_request, + build_delete_request, + build_get_request, + build_list_request, +) + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + class PrivateEndpointConnectionsOperations: """ .. warning:: @@ -45,61 +65,60 @@ def __init__(self, *args, **kwargs) -> None: self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace_async async def get( - self, - resource_group_name: str, - workspace_name: str, - private_endpoint_connection_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any ) -> _models.PrivateEndpointConnection: """Get private endpoint connections. Get private endpoint connections. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed - Grafana. + Grafana. Required. :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateEndpointConnection, or the result of cls(response) + :return: PrivateEndpointConnection or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.PrivateEndpointConnection - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnection] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateEndpointConnection] = kwargs.pop("cls", None) - request = build_get_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.get.metadata['url'], + template_url=self.get.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200]: @@ -107,84 +126,100 @@ async def get( error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + deserialized = self._deserialize("PrivateEndpointConnection", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore - + get.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } async def _approve_initial( self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, - body: Optional[_models.PrivateEndpointConnection] = None, + body: Optional[Union[_models.PrivateEndpointConnection, IO]] = None, **kwargs: Any ) -> _models.PrivateEndpointConnection: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnection] - - if body is not None: - _json = self._serialize.body(body, 'PrivateEndpointConnection') + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.PrivateEndpointConnection] = kwargs.pop("cls", None) + + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(body, (IO, bytes)): + _content = body else: - _json = None + if body is not None: + _json = self._serialize.body(body, "PrivateEndpointConnection") + else: + _json = None - request = build_approve_request_initial( - subscription_id=self._config.subscription_id, + request = build_approve_request( resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, + subscription_id=self._config.subscription_id, api_version=api_version, content_type=content_type, json=_json, - template_url=self._approve_initial.metadata['url'], + content=_content, + template_url=self._approve_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + deserialized = self._deserialize("PrivateEndpointConnection", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - _approve_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore + _approve_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } - - @distributed_trace_async + @overload async def begin_approve( self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, body: Optional[_models.PrivateEndpointConnection] = None, + *, + content_type: str = "application/json", **kwargs: Any ) -> AsyncLROPoller[_models.PrivateEndpointConnection]: """Manual approve private endpoint connection. @@ -192,14 +227,18 @@ async def begin_approve( Manual approve private endpoint connection. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed - Grafana. + Grafana. Required. :type private_endpoint_connection_name: str - :param body: Default value is None. + :param body: Default value is None. :type body: ~azure.mgmt.dashboard.models.PrivateEndpointConnection + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for @@ -212,129 +251,211 @@ async def begin_approve( result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.dashboard.models.PrivateEndpointConnection] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + async def begin_approve( + self, + resource_group_name: str, + workspace_name: str, + private_endpoint_connection_name: str, + body: Optional[IO] = None, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[_models.PrivateEndpointConnection]: + """Manual approve private endpoint connection. + + Manual approve private endpoint connection. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed + Grafana. Required. + :type private_endpoint_connection_name: str + :param body: Default value is None. + :type body: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the + result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.dashboard.models.PrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace_async + async def begin_approve( + self, + resource_group_name: str, + workspace_name: str, + private_endpoint_connection_name: str, + body: Optional[Union[_models.PrivateEndpointConnection, IO]] = None, + **kwargs: Any + ) -> AsyncLROPoller[_models.PrivateEndpointConnection]: + """Manual approve private endpoint connection. + + Manual approve private endpoint connection. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed + Grafana. Required. + :type private_endpoint_connection_name: str + :param body: Is either a model type or a IO type. Default value is None. + :type body: ~azure.mgmt.dashboard.models.PrivateEndpointConnection or IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the + result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.dashboard.models.PrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnection] - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.PrivateEndpointConnection] = kwargs.pop("cls", None) + polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: - raw_result = await self._approve_initial( # type: ignore + raw_result = await self._approve_initial( resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, body=body, api_version=api_version, content_type=content_type, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) def get_long_running_output(pipeline_response): - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + deserialized = self._deserialize("PrivateEndpointConnection", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: - polling_method = cast(AsyncPollingMethod, AsyncARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: AsyncPollingMethod - elif polling is False: polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) - else: polling_method = polling + polling_method: AsyncPollingMethod = cast( + AsyncPollingMethod, + AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs), + ) + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling if cont_token: return AsyncLROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_approve.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore + begin_approve.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } async def _delete_initial( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - private_endpoint_connection_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any ) -> None: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[None] = kwargs.pop("cls", None) - - request = build_delete_request_initial( - subscription_id=self._config.subscription_id, + request = build_delete_request( resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self._delete_initial.metadata['url'], + template_url=self._delete_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore - + _delete_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } @distributed_trace_async - async def begin_delete( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - private_endpoint_connection_name: str, - **kwargs: Any + async def begin_delete( + self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: """Delete private endpoint connection. Delete private endpoint connection. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed - Grafana. + Grafana. Required. :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -346,117 +467,123 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + cls: ClsType[None] = kwargs.pop("cls", None) + polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: raw_result = await self._delete_initial( # type: ignore resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, api_version=api_version, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) - def get_long_running_output(pipeline_response): + def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements if cls: return cls(pipeline_response, None, {}) - if polling is True: - polling_method = cast(AsyncPollingMethod, AsyncARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: AsyncPollingMethod - elif polling is False: polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) - else: polling_method = polling + polling_method: AsyncPollingMethod = cast( + AsyncPollingMethod, + AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs), + ) + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling if cont_token: return AsyncLROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore + begin_delete.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } @distributed_trace def list( - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> AsyncIterable[_models.PrivateEndpointConnectionListResult]: + self, resource_group_name: str, workspace_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PrivateEndpointConnection"]: """Get private endpoint connection. Get private endpoint connection. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result - of cls(response) + :return: An iterator like instance of either PrivateEndpointConnection or the result of + cls(response) :rtype: - ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.PrivateEndpointConnectionListResult] - :raises: ~azure.core.exceptions.HttpResponseError + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.PrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnectionListResult] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateEndpointConnectionListResult] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - subscription_id=self._config.subscription_id, - resource_group_name=resource_group_name, - workspace_name=workspace_name, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -464,16 +591,14 @@ async def extract_data(pipeline_response): deserialized = self._deserialize("PrivateEndpointConnectionListResult", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, AsyncList(list_of_elem) async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -484,8 +609,8 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged(get_next, extract_data) - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections"} # type: ignore + list.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections" + } diff --git a/src/amg/azext_amg/vendored_sdks/aio/operations/_private_link_resources_operations.py b/src/amg/azext_amg/vendored_sdks/aio/operations/_private_link_resources_operations.py index 92a3dc7e65..350a943d13 100644 --- a/src/amg/azext_amg/vendored_sdks/aio/operations/_private_link_resources_operations.py +++ b/src/amg/azext_amg/vendored_sdks/aio/operations/_private_link_resources_operations.py @@ -6,10 +6,19 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import sys from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar +import urllib.parse from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.rest import HttpRequest @@ -21,9 +30,15 @@ from ... import models as _models from ..._vendor import _convert_request from ...operations._private_link_resources_operations import build_get_request, build_list_request -T = TypeVar('T') + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + class PrivateLinkResourcesOperations: """ .. warning:: @@ -43,67 +58,71 @@ def __init__(self, *args, **kwargs) -> None: self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace def list( - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> AsyncIterable[_models.PrivateLinkResourceListResult]: + self, resource_group_name: str, workspace_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PrivateLinkResource"]: """List all private link resources information for this grafana resource. List all private link resources information for this grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PrivateLinkResourceListResult or the result of - cls(response) + :return: An iterator like instance of either PrivateLinkResource or the result of cls(response) :rtype: - ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.PrivateLinkResourceListResult] - :raises: ~azure.core.exceptions.HttpResponseError + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.dashboard.models.PrivateLinkResource] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateLinkResourceListResult] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateLinkResourceListResult] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - subscription_id=self._config.subscription_id, - resource_group_name=resource_group_name, - workspace_name=workspace_name, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -111,16 +130,14 @@ async def extract_data(pipeline_response): deserialized = self._deserialize("PrivateLinkResourceListResult", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, AsyncList(list_of_elem) async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -131,65 +148,65 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged(get_next, extract_data) - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources"} # type: ignore + list.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources" + } @distributed_trace_async async def get( - self, - resource_group_name: str, - workspace_name: str, - private_link_resource_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, private_link_resource_name: str, **kwargs: Any ) -> _models.PrivateLinkResource: """Get specific private link resource information for this grafana resource. Get specific private link resource information for this grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str - :param private_link_resource_name: + :param private_link_resource_name: Required. :type private_link_resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateLinkResource, or the result of cls(response) + :return: PrivateLinkResource or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.PrivateLinkResource - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateLinkResource] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateLinkResource] = kwargs.pop("cls", None) - request = build_get_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, private_link_resource_name=private_link_resource_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.get.metadata['url'], + template_url=self.get.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200]: @@ -197,12 +214,13 @@ async def get( error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('PrivateLinkResource', pipeline_response) + deserialized = self._deserialize("PrivateLinkResource", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}"} # type: ignore - + get.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}" + } diff --git a/src/amg/azext_amg/vendored_sdks/models/__init__.py b/src/amg/azext_amg/vendored_sdks/models/__init__.py index be1dc20fd2..f7f319922c 100644 --- a/src/amg/azext_amg/vendored_sdks/models/__init__.py +++ b/src/amg/azext_amg/vendored_sdks/models/__init__.py @@ -6,15 +6,21 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from ._models_py3 import AzureMonitorWorkspaceIntegration +from ._models_py3 import EnterpriseConfigurations +from ._models_py3 import EnterpriseDetails from ._models_py3 import ErrorAdditionalInfo from ._models_py3 import ErrorDetail from ._models_py3 import ErrorResponse +from ._models_py3 import GrafanaConfigurations +from ._models_py3 import GrafanaIntegrations from ._models_py3 import ManagedGrafana from ._models_py3 import ManagedGrafanaListResponse from ._models_py3 import ManagedGrafanaProperties from ._models_py3 import ManagedGrafanaPropertiesUpdateParameters from ._models_py3 import ManagedGrafanaUpdateParameters from ._models_py3 import ManagedServiceIdentity +from ._models_py3 import MarketplaceTrialQuota from ._models_py3 import Operation from ._models_py3 import OperationDisplay from ._models_py3 import OperationListResult @@ -26,62 +32,78 @@ from ._models_py3 import PrivateLinkServiceConnectionState from ._models_py3 import Resource from ._models_py3 import ResourceSku +from ._models_py3 import SaasSubscriptionDetails +from ._models_py3 import Smtp +from ._models_py3 import SubscriptionTerm from ._models_py3 import SystemData from ._models_py3 import UserAssignedIdentity - -from ._dashboard_management_client_enums import ( - ActionType, - ApiKey, - AutoGeneratedDomainNameLabelScope, - CreatedByType, - DeterministicOutboundIP, - ManagedServiceIdentityType, - Origin, - PrivateEndpointConnectionProvisioningState, - PrivateEndpointServiceConnectionStatus, - ProvisioningState, - PublicNetworkAccess, - ZoneRedundancy, -) +from ._dashboard_management_client_enums import ActionType +from ._dashboard_management_client_enums import ApiKey +from ._dashboard_management_client_enums import AutoGeneratedDomainNameLabelScope +from ._dashboard_management_client_enums import AvailablePromotion +from ._dashboard_management_client_enums import CreatedByType +from ._dashboard_management_client_enums import DeterministicOutboundIP +from ._dashboard_management_client_enums import ManagedServiceIdentityType +from ._dashboard_management_client_enums import MarketplaceAutoRenew +from ._dashboard_management_client_enums import Origin +from ._dashboard_management_client_enums import PrivateEndpointConnectionProvisioningState +from ._dashboard_management_client_enums import PrivateEndpointServiceConnectionStatus +from ._dashboard_management_client_enums import ProvisioningState +from ._dashboard_management_client_enums import PublicNetworkAccess +from ._dashboard_management_client_enums import StartTLSPolicy +from ._dashboard_management_client_enums import ZoneRedundancy from ._patch import __all__ as _patch_all -from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import * # pylint: disable=unused-wildcard-import from ._patch import patch_sdk as _patch_sdk + __all__ = [ - 'ErrorAdditionalInfo', - 'ErrorDetail', - 'ErrorResponse', - 'ManagedGrafana', - 'ManagedGrafanaListResponse', - 'ManagedGrafanaProperties', - 'ManagedGrafanaPropertiesUpdateParameters', - 'ManagedGrafanaUpdateParameters', - 'ManagedServiceIdentity', - 'Operation', - 'OperationDisplay', - 'OperationListResult', - 'PrivateEndpoint', - 'PrivateEndpointConnection', - 'PrivateEndpointConnectionListResult', - 'PrivateLinkResource', - 'PrivateLinkResourceListResult', - 'PrivateLinkServiceConnectionState', - 'Resource', - 'ResourceSku', - 'SystemData', - 'UserAssignedIdentity', - 'ActionType', - 'ApiKey', - 'AutoGeneratedDomainNameLabelScope', - 'CreatedByType', - 'DeterministicOutboundIP', - 'ManagedServiceIdentityType', - 'Origin', - 'PrivateEndpointConnectionProvisioningState', - 'PrivateEndpointServiceConnectionStatus', - 'ProvisioningState', - 'PublicNetworkAccess', - 'ZoneRedundancy', + "AzureMonitorWorkspaceIntegration", + "EnterpriseConfigurations", + "EnterpriseDetails", + "ErrorAdditionalInfo", + "ErrorDetail", + "ErrorResponse", + "GrafanaConfigurations", + "GrafanaIntegrations", + "ManagedGrafana", + "ManagedGrafanaListResponse", + "ManagedGrafanaProperties", + "ManagedGrafanaPropertiesUpdateParameters", + "ManagedGrafanaUpdateParameters", + "ManagedServiceIdentity", + "MarketplaceTrialQuota", + "Operation", + "OperationDisplay", + "OperationListResult", + "PrivateEndpoint", + "PrivateEndpointConnection", + "PrivateEndpointConnectionListResult", + "PrivateLinkResource", + "PrivateLinkResourceListResult", + "PrivateLinkServiceConnectionState", + "Resource", + "ResourceSku", + "SaasSubscriptionDetails", + "Smtp", + "SubscriptionTerm", + "SystemData", + "UserAssignedIdentity", + "ActionType", + "ApiKey", + "AutoGeneratedDomainNameLabelScope", + "AvailablePromotion", + "CreatedByType", + "DeterministicOutboundIP", + "ManagedServiceIdentityType", + "MarketplaceAutoRenew", + "Origin", + "PrivateEndpointConnectionProvisioningState", + "PrivateEndpointServiceConnectionStatus", + "ProvisioningState", + "PublicNetworkAccess", + "StartTLSPolicy", + "ZoneRedundancy", ] __all__.extend([p for p in _patch_all if p not in __all__]) -_patch_sdk() \ No newline at end of file +_patch_sdk() diff --git a/src/amg/azext_amg/vendored_sdks/models/_dashboard_management_client_enums.py b/src/amg/azext_amg/vendored_sdks/models/_dashboard_management_client_enums.py index 393f74c8ba..ac8427b918 100644 --- a/src/amg/azext_amg/vendored_sdks/models/_dashboard_management_client_enums.py +++ b/src/amg/azext_amg/vendored_sdks/models/_dashboard_management_client_enums.py @@ -11,36 +11,47 @@ class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. - """ + """Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.""" INTERNAL = "Internal" + class ApiKey(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """ApiKey.""" DISABLED = "Disabled" ENABLED = "Enabled" + class AutoGeneratedDomainNameLabelScope(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Scope for dns deterministic name hash calculation - """ + """Scope for dns deterministic name hash calculation.""" TENANT_REUSE = "TenantReuse" + +class AvailablePromotion(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """AvailablePromotion.""" + + NONE = "None" + FREE_TRIAL = "FreeTrial" + + class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The type of identity that created the resource. - """ + """The type of identity that created the resource.""" USER = "User" APPLICATION = "Application" MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key" + class DeterministicOutboundIP(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """DeterministicOutboundIP.""" DISABLED = "Disabled" ENABLED = "Enabled" + class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). @@ -51,33 +62,43 @@ class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): USER_ASSIGNED = "UserAssigned" SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" + +class MarketplaceAutoRenew(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The AutoRenew setting of the Enterprise subscription.""" + + DISABLED = "Disabled" + ENABLED = "Enabled" + + class Origin(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit - logs UX. Default value is "user,system" + logs UX. Default value is "user,system". """ USER = "user" SYSTEM = "system" USER_SYSTEM = "user,system" + class PrivateEndpointConnectionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The current provisioning state. - """ + """The current provisioning state.""" SUCCEEDED = "Succeeded" CREATING = "Creating" DELETING = "Deleting" FAILED = "Failed" + class PrivateEndpointServiceConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The private endpoint connection status. - """ + """The private endpoint connection status.""" PENDING = "Pending" APPROVED = "Approved" REJECTED = "Rejected" + class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """ProvisioningState.""" ACCEPTED = "Accepted" CREATING = "Creating" @@ -89,14 +110,26 @@ class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): DELETED = "Deleted" NOT_SPECIFIED = "NotSpecified" + class PublicNetworkAccess(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Indicate the state for enable or disable traffic over the public interface. - """ + """Indicate the state for enable or disable traffic over the public interface.""" ENABLED = "Enabled" DISABLED = "Disabled" + +class StartTLSPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The StartTLSPolicy setting of the SMTP configuration + https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy. + """ + + OPPORTUNISTIC_START_TLS = "OpportunisticStartTLS" + MANDATORY_START_TLS = "MandatoryStartTLS" + NO_START_TLS = "NoStartTLS" + + class ZoneRedundancy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """ZoneRedundancy.""" DISABLED = "Disabled" ENABLED = "Enabled" diff --git a/src/amg/azext_amg/vendored_sdks/models/_models_py3.py b/src/amg/azext_amg/vendored_sdks/models/_models_py3.py index d6240c8e14..2e14a2a523 100644 --- a/src/amg/azext_amg/vendored_sdks/models/_models_py3.py +++ b/src/amg/azext_amg/vendored_sdks/models/_models_py3.py @@ -1,4 +1,5 @@ # coding=utf-8 +# pylint: disable=too-many-lines # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. @@ -7,17 +8,108 @@ # -------------------------------------------------------------------------- import datetime -from typing import Dict, List, Optional, TYPE_CHECKING, Union +from typing import Any, Dict, List, Optional, TYPE_CHECKING, Union -from azure.core.exceptions import HttpResponseError -import msrest.serialization +from .. import _serialization if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - import __init__ as _models + from .. import models as _models -class ErrorAdditionalInfo(msrest.serialization.Model): +class AzureMonitorWorkspaceIntegration(_serialization.Model): + """Integrations for Azure Monitor Workspace. + + :ivar azure_monitor_workspace_resource_id: The resource Id of the connected Azure Monitor + Workspace. + :vartype azure_monitor_workspace_resource_id: str + """ + + _attribute_map = { + "azure_monitor_workspace_resource_id": {"key": "azureMonitorWorkspaceResourceId", "type": "str"}, + } + + def __init__(self, *, azure_monitor_workspace_resource_id: Optional[str] = None, **kwargs: Any) -> None: + """ + :keyword azure_monitor_workspace_resource_id: The resource Id of the connected Azure Monitor + Workspace. + :paramtype azure_monitor_workspace_resource_id: str + """ + super().__init__(**kwargs) + self.azure_monitor_workspace_resource_id = azure_monitor_workspace_resource_id + + +class EnterpriseConfigurations(_serialization.Model): + """Enterprise settings of a Grafana instance. + + :ivar marketplace_plan_id: The Plan Id of the Azure Marketplace subscription for the Enterprise + plugins. + :vartype marketplace_plan_id: str + :ivar marketplace_auto_renew: The AutoRenew setting of the Enterprise subscription. Known + values are: "Disabled" and "Enabled". + :vartype marketplace_auto_renew: str or ~azure.mgmt.dashboard.models.MarketplaceAutoRenew + """ + + _attribute_map = { + "marketplace_plan_id": {"key": "marketplacePlanId", "type": "str"}, + "marketplace_auto_renew": {"key": "marketplaceAutoRenew", "type": "str"}, + } + + def __init__( + self, + *, + marketplace_plan_id: Optional[str] = None, + marketplace_auto_renew: Optional[Union[str, "_models.MarketplaceAutoRenew"]] = None, + **kwargs: Any + ) -> None: + """ + :keyword marketplace_plan_id: The Plan Id of the Azure Marketplace subscription for the + Enterprise plugins. + :paramtype marketplace_plan_id: str + :keyword marketplace_auto_renew: The AutoRenew setting of the Enterprise subscription. Known + values are: "Disabled" and "Enabled". + :paramtype marketplace_auto_renew: str or ~azure.mgmt.dashboard.models.MarketplaceAutoRenew + """ + super().__init__(**kwargs) + self.marketplace_plan_id = marketplace_plan_id + self.marketplace_auto_renew = marketplace_auto_renew + + +class EnterpriseDetails(_serialization.Model): + """Enterprise details of a Grafana instance. + + :ivar saas_subscription_details: SaaS subscription details of a Grafana instance. + :vartype saas_subscription_details: ~azure.mgmt.dashboard.models.SaasSubscriptionDetails + :ivar marketplace_trial_quota: The allocation details of the per subscription free trial slot + of the subscription. + :vartype marketplace_trial_quota: ~azure.mgmt.dashboard.models.MarketplaceTrialQuota + """ + + _attribute_map = { + "saas_subscription_details": {"key": "saasSubscriptionDetails", "type": "SaasSubscriptionDetails"}, + "marketplace_trial_quota": {"key": "marketplaceTrialQuota", "type": "MarketplaceTrialQuota"}, + } + + def __init__( + self, + *, + saas_subscription_details: Optional["_models.SaasSubscriptionDetails"] = None, + marketplace_trial_quota: Optional["_models.MarketplaceTrialQuota"] = None, + **kwargs: Any + ) -> None: + """ + :keyword saas_subscription_details: SaaS subscription details of a Grafana instance. + :paramtype saas_subscription_details: ~azure.mgmt.dashboard.models.SaasSubscriptionDetails + :keyword marketplace_trial_quota: The allocation details of the per subscription free trial + slot of the subscription. + :paramtype marketplace_trial_quota: ~azure.mgmt.dashboard.models.MarketplaceTrialQuota + """ + super().__init__(**kwargs) + self.saas_subscription_details = saas_subscription_details + self.marketplace_trial_quota = marketplace_trial_quota + + +class ErrorAdditionalInfo(_serialization.Model): """The resource management error additional info. Variables are only populated by the server, and will be ignored when sending a request. @@ -25,31 +117,27 @@ class ErrorAdditionalInfo(msrest.serialization.Model): :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. - :vartype info: any + :vartype info: JSON """ _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, + "type": {"readonly": True}, + "info": {"readonly": True}, } _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, + "type": {"key": "type", "type": "str"}, + "info": {"key": "info", "type": "object"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(ErrorAdditionalInfo, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.type = None self.info = None -class ErrorDetail(msrest.serialization.Model): +class ErrorDetail(_serialization.Model): """The error detail. Variables are only populated by the server, and will be ignored when sending a request. @@ -67,28 +155,24 @@ class ErrorDetail(msrest.serialization.Model): """ _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, + "code": {"readonly": True}, + "message": {"readonly": True}, + "target": {"readonly": True}, + "details": {"readonly": True}, + "additional_info": {"readonly": True}, } _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorDetail]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorDetail]"}, + "additional_info": {"key": "additionalInfo", "type": "[ErrorAdditionalInfo]"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(ErrorDetail, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.code = None self.message = None self.target = None @@ -96,32 +180,81 @@ def __init__( self.additional_info = None -class ErrorResponse(msrest.serialization.Model): - """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). +class ErrorResponse(_serialization.Model): + """Common error response for all Azure Resource Manager APIs to return error details for failed + operations. (This also follows the OData error response format.). :ivar error: The error object. :vartype error: ~azure.mgmt.dashboard.models.ErrorDetail """ _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorDetail'}, + "error": {"key": "error", "type": "ErrorDetail"}, } - def __init__( - self, - *, - error: Optional["_models.ErrorDetail"] = None, - **kwargs - ): + def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs: Any) -> None: """ :keyword error: The error object. :paramtype error: ~azure.mgmt.dashboard.models.ErrorDetail """ - super(ErrorResponse, self).__init__(**kwargs) + super().__init__(**kwargs) self.error = error -class ManagedGrafana(msrest.serialization.Model): +class GrafanaConfigurations(_serialization.Model): + """Server configurations of a Grafana instance. + + :ivar smtp: Email server settings. + https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp. + :vartype smtp: ~azure.mgmt.dashboard.models.Smtp + """ + + _attribute_map = { + "smtp": {"key": "smtp", "type": "Smtp"}, + } + + def __init__(self, *, smtp: Optional["_models.Smtp"] = None, **kwargs: Any) -> None: + """ + :keyword smtp: Email server settings. + https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp. + :paramtype smtp: ~azure.mgmt.dashboard.models.Smtp + """ + super().__init__(**kwargs) + self.smtp = smtp + + +class GrafanaIntegrations(_serialization.Model): + """GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, + tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. + + :ivar azure_monitor_workspace_integrations: + :vartype azure_monitor_workspace_integrations: + list[~azure.mgmt.dashboard.models.AzureMonitorWorkspaceIntegration] + """ + + _attribute_map = { + "azure_monitor_workspace_integrations": { + "key": "azureMonitorWorkspaceIntegrations", + "type": "[AzureMonitorWorkspaceIntegration]", + }, + } + + def __init__( + self, + *, + azure_monitor_workspace_integrations: Optional[List["_models.AzureMonitorWorkspaceIntegration"]] = None, + **kwargs: Any + ) -> None: + """ + :keyword azure_monitor_workspace_integrations: + :paramtype azure_monitor_workspace_integrations: + list[~azure.mgmt.dashboard.models.AzureMonitorWorkspaceIntegration] + """ + super().__init__(**kwargs) + self.azure_monitor_workspace_integrations = azure_monitor_workspace_integrations + + +class ManagedGrafana(_serialization.Model): """The grafana resource type. Variables are only populated by the server, and will be ignored when sending a request. @@ -140,29 +273,29 @@ class ManagedGrafana(msrest.serialization.Model): :vartype identity: ~azure.mgmt.dashboard.models.ManagedServiceIdentity :ivar system_data: The system meta data relating to this grafana resource. :vartype system_data: ~azure.mgmt.dashboard.models.SystemData - :ivar tags: A set of tags. The tags for grafana resource. + :ivar tags: The tags for grafana resource. :vartype tags: dict[str, str] :ivar location: The geo-location where the grafana resource lives. :vartype location: str """ _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'ResourceSku'}, - 'properties': {'key': 'properties', 'type': 'ManagedGrafanaProperties'}, - 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "sku": {"key": "sku", "type": "ResourceSku"}, + "properties": {"key": "properties", "type": "ManagedGrafanaProperties"}, + "identity": {"key": "identity", "type": "ManagedServiceIdentity"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, } def __init__( @@ -173,8 +306,8 @@ def __init__( identity: Optional["_models.ManagedServiceIdentity"] = None, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, - **kwargs - ): + **kwargs: Any + ) -> None: """ :keyword sku: The Sku of the grafana resource. :paramtype sku: ~azure.mgmt.dashboard.models.ResourceSku @@ -182,12 +315,12 @@ def __init__( :paramtype properties: ~azure.mgmt.dashboard.models.ManagedGrafanaProperties :keyword identity: The managed identity of the grafana resource. :paramtype identity: ~azure.mgmt.dashboard.models.ManagedServiceIdentity - :keyword tags: A set of tags. The tags for grafana resource. + :keyword tags: The tags for grafana resource. :paramtype tags: dict[str, str] :keyword location: The geo-location where the grafana resource lives. :paramtype location: str """ - super(ManagedGrafana, self).__init__(**kwargs) + super().__init__(**kwargs) self.id = None self.name = None self.type = None @@ -199,7 +332,7 @@ def __init__( self.location = location -class ManagedGrafanaListResponse(msrest.serialization.Model): +class ManagedGrafanaListResponse(_serialization.Model): """ManagedGrafanaListResponse. :ivar value: @@ -209,35 +342,31 @@ class ManagedGrafanaListResponse(msrest.serialization.Model): """ _attribute_map = { - 'value': {'key': 'value', 'type': '[ManagedGrafana]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, + "value": {"key": "value", "type": "[ManagedGrafana]"}, + "next_link": {"key": "nextLink", "type": "str"}, } def __init__( - self, - *, - value: Optional[List["_models.ManagedGrafana"]] = None, - next_link: Optional[str] = None, - **kwargs - ): + self, *, value: Optional[List["_models.ManagedGrafana"]] = None, next_link: Optional[str] = None, **kwargs: Any + ) -> None: """ :keyword value: :paramtype value: list[~azure.mgmt.dashboard.models.ManagedGrafana] :keyword next_link: :paramtype next_link: str """ - super(ManagedGrafanaListResponse, self).__init__(**kwargs) + super().__init__(**kwargs) self.value = value self.next_link = next_link -class ManagedGrafanaProperties(msrest.serialization.Model): +class ManagedGrafanaProperties(_serialization.Model): # pylint: disable=too-many-instance-attributes """Properties specific to the grafana resource. Variables are only populated by the server, and will be ignored when sending a request. :ivar provisioning_state: Provisioning state of the resource. Known values are: "Accepted", - "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled", "Deleted", + "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled", "Deleted", and "NotSpecified". :vartype provisioning_state: str or ~azure.mgmt.dashboard.models.ProvisioningState :ivar grafana_version: The Grafana software version. @@ -245,16 +374,16 @@ class ManagedGrafanaProperties(msrest.serialization.Model): :ivar endpoint: The endpoint of the Grafana instance. :vartype endpoint: str :ivar public_network_access: Indicate the state for enable or disable traffic over the public - interface. Known values are: "Enabled", "Disabled". + interface. Known values are: "Enabled" and "Disabled". :vartype public_network_access: str or ~azure.mgmt.dashboard.models.PublicNetworkAccess :ivar zone_redundancy: The zone redundancy setting of the Grafana instance. Known values are: - "Disabled", "Enabled". Default value: "Disabled". + "Disabled" and "Enabled". :vartype zone_redundancy: str or ~azure.mgmt.dashboard.models.ZoneRedundancy - :ivar api_key: The api key setting of the Grafana instance. Known values are: "Disabled", - "Enabled". Default value: "Disabled". + :ivar api_key: The api key setting of the Grafana instance. Known values are: "Disabled" and + "Enabled". :vartype api_key: str or ~azure.mgmt.dashboard.models.ApiKey :ivar deterministic_outbound_ip: Whether a Grafana instance uses deterministic outbound IPs. - Known values are: "Disabled", "Enabled". Default value: "Disabled". + Known values are: "Disabled" and "Enabled". :vartype deterministic_outbound_ip: str or ~azure.mgmt.dashboard.models.DeterministicOutboundIP :ivar outbound_i_ps: List of outbound IPs if deterministicOutboundIP is enabled. :vartype outbound_i_ps: list[str] @@ -262,62 +391,86 @@ class ManagedGrafanaProperties(msrest.serialization.Model): :vartype private_endpoint_connections: list[~azure.mgmt.dashboard.models.PrivateEndpointConnection] :ivar auto_generated_domain_name_label_scope: Scope for dns deterministic name hash - calculation. Known values are: "TenantReuse". + calculation. "TenantReuse" :vartype auto_generated_domain_name_label_scope: str or ~azure.mgmt.dashboard.models.AutoGeneratedDomainNameLabelScope + :ivar grafana_integrations: GrafanaIntegrations is a bundled observability experience (e.g. + pre-configured data source, tailored Grafana dashboards, alerting defaults) for common + monitoring scenarios. + :vartype grafana_integrations: ~azure.mgmt.dashboard.models.GrafanaIntegrations + :ivar enterprise_configurations: Enterprise settings of a Grafana instance. + :vartype enterprise_configurations: ~azure.mgmt.dashboard.models.EnterpriseConfigurations + :ivar grafana_configurations: Server configurations of a Grafana instance. + :vartype grafana_configurations: ~azure.mgmt.dashboard.models.GrafanaConfigurations """ _validation = { - 'provisioning_state': {'readonly': True}, - 'grafana_version': {'readonly': True}, - 'endpoint': {'readonly': True}, - 'outbound_i_ps': {'readonly': True}, - 'private_endpoint_connections': {'readonly': True}, + "provisioning_state": {"readonly": True}, + "grafana_version": {"readonly": True}, + "endpoint": {"readonly": True}, + "outbound_i_ps": {"readonly": True}, + "private_endpoint_connections": {"readonly": True}, } _attribute_map = { - 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, - 'grafana_version': {'key': 'grafanaVersion', 'type': 'str'}, - 'endpoint': {'key': 'endpoint', 'type': 'str'}, - 'public_network_access': {'key': 'publicNetworkAccess', 'type': 'str'}, - 'zone_redundancy': {'key': 'zoneRedundancy', 'type': 'str'}, - 'api_key': {'key': 'apiKey', 'type': 'str'}, - 'deterministic_outbound_ip': {'key': 'deterministicOutboundIP', 'type': 'str'}, - 'outbound_i_ps': {'key': 'outboundIPs', 'type': '[str]'}, - 'private_endpoint_connections': {'key': 'privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'auto_generated_domain_name_label_scope': {'key': 'autoGeneratedDomainNameLabelScope', 'type': 'str'}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "grafana_version": {"key": "grafanaVersion", "type": "str"}, + "endpoint": {"key": "endpoint", "type": "str"}, + "public_network_access": {"key": "publicNetworkAccess", "type": "str"}, + "zone_redundancy": {"key": "zoneRedundancy", "type": "str"}, + "api_key": {"key": "apiKey", "type": "str"}, + "deterministic_outbound_ip": {"key": "deterministicOutboundIP", "type": "str"}, + "outbound_i_ps": {"key": "outboundIPs", "type": "[str]"}, + "private_endpoint_connections": {"key": "privateEndpointConnections", "type": "[PrivateEndpointConnection]"}, + "auto_generated_domain_name_label_scope": {"key": "autoGeneratedDomainNameLabelScope", "type": "str"}, + "grafana_integrations": {"key": "grafanaIntegrations", "type": "GrafanaIntegrations"}, + "enterprise_configurations": {"key": "enterpriseConfigurations", "type": "EnterpriseConfigurations"}, + "grafana_configurations": {"key": "grafanaConfigurations", "type": "GrafanaConfigurations"}, } def __init__( self, *, - public_network_access: Optional[Union[str, "_models.PublicNetworkAccess"]] = None, - zone_redundancy: Optional[Union[str, "_models.ZoneRedundancy"]] = "Disabled", - api_key: Optional[Union[str, "_models.ApiKey"]] = "Disabled", - deterministic_outbound_ip: Optional[Union[str, "_models.DeterministicOutboundIP"]] = "Disabled", - auto_generated_domain_name_label_scope: Optional[Union[str, "_models.AutoGeneratedDomainNameLabelScope"]] = None, - **kwargs - ): + public_network_access: Union[str, "_models.PublicNetworkAccess"] = "Enabled", + zone_redundancy: Union[str, "_models.ZoneRedundancy"] = "Disabled", + api_key: Union[str, "_models.ApiKey"] = "Disabled", + deterministic_outbound_ip: Union[str, "_models.DeterministicOutboundIP"] = "Disabled", + auto_generated_domain_name_label_scope: Optional[ + Union[str, "_models.AutoGeneratedDomainNameLabelScope"] + ] = None, + grafana_integrations: Optional["_models.GrafanaIntegrations"] = None, + enterprise_configurations: Optional["_models.EnterpriseConfigurations"] = None, + grafana_configurations: Optional["_models.GrafanaConfigurations"] = None, + **kwargs: Any + ) -> None: """ :keyword public_network_access: Indicate the state for enable or disable traffic over the - public interface. Known values are: "Enabled", "Disabled". + public interface. Known values are: "Enabled" and "Disabled". :paramtype public_network_access: str or ~azure.mgmt.dashboard.models.PublicNetworkAccess :keyword zone_redundancy: The zone redundancy setting of the Grafana instance. Known values - are: "Disabled", "Enabled". Default value: "Disabled". + are: "Disabled" and "Enabled". :paramtype zone_redundancy: str or ~azure.mgmt.dashboard.models.ZoneRedundancy - :keyword api_key: The api key setting of the Grafana instance. Known values are: "Disabled", - "Enabled". Default value: "Disabled". + :keyword api_key: The api key setting of the Grafana instance. Known values are: "Disabled" and + "Enabled". :paramtype api_key: str or ~azure.mgmt.dashboard.models.ApiKey :keyword deterministic_outbound_ip: Whether a Grafana instance uses deterministic outbound IPs. - Known values are: "Disabled", "Enabled". Default value: "Disabled". + Known values are: "Disabled" and "Enabled". :paramtype deterministic_outbound_ip: str or ~azure.mgmt.dashboard.models.DeterministicOutboundIP :keyword auto_generated_domain_name_label_scope: Scope for dns deterministic name hash - calculation. Known values are: "TenantReuse". + calculation. "TenantReuse" :paramtype auto_generated_domain_name_label_scope: str or ~azure.mgmt.dashboard.models.AutoGeneratedDomainNameLabelScope + :keyword grafana_integrations: GrafanaIntegrations is a bundled observability experience (e.g. + pre-configured data source, tailored Grafana dashboards, alerting defaults) for common + monitoring scenarios. + :paramtype grafana_integrations: ~azure.mgmt.dashboard.models.GrafanaIntegrations + :keyword enterprise_configurations: Enterprise settings of a Grafana instance. + :paramtype enterprise_configurations: ~azure.mgmt.dashboard.models.EnterpriseConfigurations + :keyword grafana_configurations: Server configurations of a Grafana instance. + :paramtype grafana_configurations: ~azure.mgmt.dashboard.models.GrafanaConfigurations """ - super(ManagedGrafanaProperties, self).__init__(**kwargs) + super().__init__(**kwargs) self.provisioning_state = None self.grafana_version = None self.endpoint = None @@ -328,78 +481,106 @@ def __init__( self.outbound_i_ps = None self.private_endpoint_connections = None self.auto_generated_domain_name_label_scope = auto_generated_domain_name_label_scope + self.grafana_integrations = grafana_integrations + self.enterprise_configurations = enterprise_configurations + self.grafana_configurations = grafana_configurations -class ManagedGrafanaPropertiesUpdateParameters(msrest.serialization.Model): +class ManagedGrafanaPropertiesUpdateParameters(_serialization.Model): """The properties parameters for a PATCH request to a grafana resource. :ivar zone_redundancy: The zone redundancy setting of the Grafana instance. Known values are: - "Disabled", "Enabled". Default value: "Disabled". + "Disabled" and "Enabled". :vartype zone_redundancy: str or ~azure.mgmt.dashboard.models.ZoneRedundancy - :ivar api_key: The api key setting of the Grafana instance. Known values are: "Disabled", - "Enabled". Default value: "Disabled". + :ivar api_key: The api key setting of the Grafana instance. Known values are: "Disabled" and + "Enabled". :vartype api_key: str or ~azure.mgmt.dashboard.models.ApiKey :ivar deterministic_outbound_ip: Whether a Grafana instance uses deterministic outbound IPs. - Known values are: "Disabled", "Enabled". Default value: "Disabled". + Known values are: "Disabled" and "Enabled". :vartype deterministic_outbound_ip: str or ~azure.mgmt.dashboard.models.DeterministicOutboundIP :ivar public_network_access: Indicate the state for enable or disable traffic over the public - interface. Known values are: "Enabled", "Disabled". + interface. Known values are: "Enabled" and "Disabled". :vartype public_network_access: str or ~azure.mgmt.dashboard.models.PublicNetworkAccess + :ivar grafana_integrations: GrafanaIntegrations is a bundled observability experience (e.g. + pre-configured data source, tailored Grafana dashboards, alerting defaults) for common + monitoring scenarios. + :vartype grafana_integrations: ~azure.mgmt.dashboard.models.GrafanaIntegrations + :ivar enterprise_configurations: Enterprise settings of a Grafana instance. + :vartype enterprise_configurations: ~azure.mgmt.dashboard.models.EnterpriseConfigurations + :ivar grafana_configurations: Server configurations of a Grafana instance. + :vartype grafana_configurations: ~azure.mgmt.dashboard.models.GrafanaConfigurations """ _attribute_map = { - 'zone_redundancy': {'key': 'zoneRedundancy', 'type': 'str'}, - 'api_key': {'key': 'apiKey', 'type': 'str'}, - 'deterministic_outbound_ip': {'key': 'deterministicOutboundIP', 'type': 'str'}, - 'public_network_access': {'key': 'publicNetworkAccess', 'type': 'str'}, + "zone_redundancy": {"key": "zoneRedundancy", "type": "str"}, + "api_key": {"key": "apiKey", "type": "str"}, + "deterministic_outbound_ip": {"key": "deterministicOutboundIP", "type": "str"}, + "public_network_access": {"key": "publicNetworkAccess", "type": "str"}, + "grafana_integrations": {"key": "grafanaIntegrations", "type": "GrafanaIntegrations"}, + "enterprise_configurations": {"key": "enterpriseConfigurations", "type": "EnterpriseConfigurations"}, + "grafana_configurations": {"key": "grafanaConfigurations", "type": "GrafanaConfigurations"}, } def __init__( self, *, - zone_redundancy: Optional[Union[str, "_models.ZoneRedundancy"]] = "Disabled", - api_key: Optional[Union[str, "_models.ApiKey"]] = "Disabled", - deterministic_outbound_ip: Optional[Union[str, "_models.DeterministicOutboundIP"]] = "Disabled", - public_network_access: Optional[Union[str, "_models.PublicNetworkAccess"]] = None, - **kwargs - ): + zone_redundancy: Union[str, "_models.ZoneRedundancy"] = "Disabled", + api_key: Union[str, "_models.ApiKey"] = "Disabled", + deterministic_outbound_ip: Union[str, "_models.DeterministicOutboundIP"] = "Disabled", + public_network_access: Union[str, "_models.PublicNetworkAccess"] = "Enabled", + grafana_integrations: Optional["_models.GrafanaIntegrations"] = None, + enterprise_configurations: Optional["_models.EnterpriseConfigurations"] = None, + grafana_configurations: Optional["_models.GrafanaConfigurations"] = None, + **kwargs: Any + ) -> None: """ :keyword zone_redundancy: The zone redundancy setting of the Grafana instance. Known values - are: "Disabled", "Enabled". Default value: "Disabled". + are: "Disabled" and "Enabled". :paramtype zone_redundancy: str or ~azure.mgmt.dashboard.models.ZoneRedundancy - :keyword api_key: The api key setting of the Grafana instance. Known values are: "Disabled", - "Enabled". Default value: "Disabled". + :keyword api_key: The api key setting of the Grafana instance. Known values are: "Disabled" and + "Enabled". :paramtype api_key: str or ~azure.mgmt.dashboard.models.ApiKey :keyword deterministic_outbound_ip: Whether a Grafana instance uses deterministic outbound IPs. - Known values are: "Disabled", "Enabled". Default value: "Disabled". + Known values are: "Disabled" and "Enabled". :paramtype deterministic_outbound_ip: str or ~azure.mgmt.dashboard.models.DeterministicOutboundIP :keyword public_network_access: Indicate the state for enable or disable traffic over the - public interface. Known values are: "Enabled", "Disabled". + public interface. Known values are: "Enabled" and "Disabled". :paramtype public_network_access: str or ~azure.mgmt.dashboard.models.PublicNetworkAccess + :keyword grafana_integrations: GrafanaIntegrations is a bundled observability experience (e.g. + pre-configured data source, tailored Grafana dashboards, alerting defaults) for common + monitoring scenarios. + :paramtype grafana_integrations: ~azure.mgmt.dashboard.models.GrafanaIntegrations + :keyword enterprise_configurations: Enterprise settings of a Grafana instance. + :paramtype enterprise_configurations: ~azure.mgmt.dashboard.models.EnterpriseConfigurations + :keyword grafana_configurations: Server configurations of a Grafana instance. + :paramtype grafana_configurations: ~azure.mgmt.dashboard.models.GrafanaConfigurations """ - super(ManagedGrafanaPropertiesUpdateParameters, self).__init__(**kwargs) + super().__init__(**kwargs) self.zone_redundancy = zone_redundancy self.api_key = api_key self.deterministic_outbound_ip = deterministic_outbound_ip self.public_network_access = public_network_access + self.grafana_integrations = grafana_integrations + self.enterprise_configurations = enterprise_configurations + self.grafana_configurations = grafana_configurations -class ManagedGrafanaUpdateParameters(msrest.serialization.Model): +class ManagedGrafanaUpdateParameters(_serialization.Model): """The parameters for a PATCH request to a grafana resource. :ivar identity: The managed identity of the grafana resource. :vartype identity: ~azure.mgmt.dashboard.models.ManagedServiceIdentity - :ivar tags: A set of tags. The new tags of the grafana resource. + :ivar tags: The new tags of the grafana resource. :vartype tags: dict[str, str] :ivar properties: Properties specific to the managed grafana resource. :vartype properties: ~azure.mgmt.dashboard.models.ManagedGrafanaPropertiesUpdateParameters """ _attribute_map = { - 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'ManagedGrafanaPropertiesUpdateParameters'}, + "identity": {"key": "identity", "type": "ManagedServiceIdentity"}, + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "ManagedGrafanaPropertiesUpdateParameters"}, } def __init__( @@ -408,23 +589,23 @@ def __init__( identity: Optional["_models.ManagedServiceIdentity"] = None, tags: Optional[Dict[str, str]] = None, properties: Optional["_models.ManagedGrafanaPropertiesUpdateParameters"] = None, - **kwargs - ): + **kwargs: Any + ) -> None: """ :keyword identity: The managed identity of the grafana resource. :paramtype identity: ~azure.mgmt.dashboard.models.ManagedServiceIdentity - :keyword tags: A set of tags. The new tags of the grafana resource. + :keyword tags: The new tags of the grafana resource. :paramtype tags: dict[str, str] :keyword properties: Properties specific to the managed grafana resource. :paramtype properties: ~azure.mgmt.dashboard.models.ManagedGrafanaPropertiesUpdateParameters """ - super(ManagedGrafanaUpdateParameters, self).__init__(**kwargs) + super().__init__(**kwargs) self.identity = identity self.tags = tags self.properties = properties -class ManagedServiceIdentity(msrest.serialization.Model): +class ManagedServiceIdentity(_serialization.Model): """Managed service identity (system assigned and/or user assigned identities). Variables are only populated by the server, and will be ignored when sending a request. @@ -437,8 +618,8 @@ class ManagedServiceIdentity(msrest.serialization.Model): :ivar tenant_id: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. :vartype tenant_id: str - :ivar type: Required. Type of managed service identity (where both SystemAssigned and - UserAssigned types are allowed). Known values are: "None", "SystemAssigned", "UserAssigned", + :ivar type: Type of managed service identity (where both SystemAssigned and UserAssigned types + are allowed). Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". :vartype type: str or ~azure.mgmt.dashboard.models.ManagedServiceIdentityType :ivar user_assigned_identities: The set of user assigned identities associated with the @@ -449,16 +630,16 @@ class ManagedServiceIdentity(msrest.serialization.Model): """ _validation = { - 'principal_id': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'type': {'required': True}, + "principal_id": {"readonly": True}, + "tenant_id": {"readonly": True}, + "type": {"required": True}, } _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{UserAssignedIdentity}'}, + "principal_id": {"key": "principalId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "user_assigned_identities": {"key": "userAssignedIdentities", "type": "{UserAssignedIdentity}"}, } def __init__( @@ -466,11 +647,11 @@ def __init__( *, type: Union[str, "_models.ManagedServiceIdentityType"], user_assigned_identities: Optional[Dict[str, "_models.UserAssignedIdentity"]] = None, - **kwargs - ): + **kwargs: Any + ) -> None: """ - :keyword type: Required. Type of managed service identity (where both SystemAssigned and - UserAssigned types are allowed). Known values are: "None", "SystemAssigned", "UserAssigned", + :keyword type: Type of managed service identity (where both SystemAssigned and UserAssigned + types are allowed). Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". :paramtype type: str or ~azure.mgmt.dashboard.models.ManagedServiceIdentityType :keyword user_assigned_identities: The set of user assigned identities associated with the @@ -480,14 +661,62 @@ def __init__( :paramtype user_assigned_identities: dict[str, ~azure.mgmt.dashboard.models.UserAssignedIdentity] """ - super(ManagedServiceIdentity, self).__init__(**kwargs) + super().__init__(**kwargs) self.principal_id = None self.tenant_id = None self.type = type self.user_assigned_identities = user_assigned_identities -class Operation(msrest.serialization.Model): +class MarketplaceTrialQuota(_serialization.Model): + """The allocation details of the per subscription free trial slot of the subscription. + + :ivar available_promotion: Available enterprise promotion for the subscription. Known values + are: "None" and "FreeTrial". + :vartype available_promotion: str or ~azure.mgmt.dashboard.models.AvailablePromotion + :ivar grafana_resource_id: Resource Id of the Grafana resource which is doing the trial. + :vartype grafana_resource_id: str + :ivar trial_start_at: The date and time in UTC of when the trial starts. + :vartype trial_start_at: ~datetime.datetime + :ivar trial_end_at: The date and time in UTC of when the trial ends. + :vartype trial_end_at: ~datetime.datetime + """ + + _attribute_map = { + "available_promotion": {"key": "availablePromotion", "type": "str"}, + "grafana_resource_id": {"key": "grafanaResourceId", "type": "str"}, + "trial_start_at": {"key": "trialStartAt", "type": "iso-8601"}, + "trial_end_at": {"key": "trialEndAt", "type": "iso-8601"}, + } + + def __init__( + self, + *, + available_promotion: Union[str, "_models.AvailablePromotion"] = "None", + grafana_resource_id: Optional[str] = None, + trial_start_at: Optional[datetime.datetime] = None, + trial_end_at: Optional[datetime.datetime] = None, + **kwargs: Any + ) -> None: + """ + :keyword available_promotion: Available enterprise promotion for the subscription. Known values + are: "None" and "FreeTrial". + :paramtype available_promotion: str or ~azure.mgmt.dashboard.models.AvailablePromotion + :keyword grafana_resource_id: Resource Id of the Grafana resource which is doing the trial. + :paramtype grafana_resource_id: str + :keyword trial_start_at: The date and time in UTC of when the trial starts. + :paramtype trial_start_at: ~datetime.datetime + :keyword trial_end_at: The date and time in UTC of when the trial ends. + :paramtype trial_end_at: ~datetime.datetime + """ + super().__init__(**kwargs) + self.available_promotion = available_promotion + self.grafana_resource_id = grafana_resource_id + self.trial_start_at = trial_start_at + self.trial_end_at = trial_end_at + + +class Operation(_serialization.Model): """Details of a REST API operation, returned from the Resource Provider Operations API. Variables are only populated by the server, and will be ignored when sending a request. @@ -502,39 +731,34 @@ class Operation(msrest.serialization.Model): :vartype display: ~azure.mgmt.dashboard.models.OperationDisplay :ivar origin: The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Known values are: "user", "system", - "user,system". + and "user,system". :vartype origin: str or ~azure.mgmt.dashboard.models.Origin :ivar action_type: Enum. Indicates the action type. "Internal" refers to actions that are for - internal only APIs. Known values are: "Internal". + internal only APIs. "Internal" :vartype action_type: str or ~azure.mgmt.dashboard.models.ActionType """ _validation = { - 'name': {'readonly': True}, - 'is_data_action': {'readonly': True}, - 'origin': {'readonly': True}, - 'action_type': {'readonly': True}, + "name": {"readonly": True}, + "is_data_action": {"readonly": True}, + "origin": {"readonly": True}, + "action_type": {"readonly": True}, } _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, + "name": {"key": "name", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "action_type": {"key": "actionType", "type": "str"}, } - def __init__( - self, - *, - display: Optional["_models.OperationDisplay"] = None, - **kwargs - ): + def __init__(self, *, display: Optional["_models.OperationDisplay"] = None, **kwargs: Any) -> None: """ :keyword display: Localized display information for this particular operation. :paramtype display: ~azure.mgmt.dashboard.models.OperationDisplay """ - super(Operation, self).__init__(**kwargs) + super().__init__(**kwargs) self.name = None self.is_data_action = None self.display = display @@ -542,7 +766,7 @@ def __init__( self.action_type = None -class OperationDisplay(msrest.serialization.Model): +class OperationDisplay(_serialization.Model): """Localized display information for this particular operation. Variables are only populated by the server, and will be ignored when sending a request. @@ -562,34 +786,31 @@ class OperationDisplay(msrest.serialization.Model): """ _validation = { - 'provider': {'readonly': True}, - 'resource': {'readonly': True}, - 'operation': {'readonly': True}, - 'description': {'readonly': True}, + "provider": {"readonly": True}, + "resource": {"readonly": True}, + "operation": {"readonly": True}, + "description": {"readonly": True}, } _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(OperationDisplay, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.provider = None self.resource = None self.operation = None self.description = None -class OperationListResult(msrest.serialization.Model): - """A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. +class OperationListResult(_serialization.Model): + """A list of REST API operations supported by an Azure Resource Provider. It contains an URL link + to get the next set of results. Variables are only populated by the server, and will be ignored when sending a request. @@ -600,27 +821,23 @@ class OperationListResult(msrest.serialization.Model): """ _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, + "value": {"readonly": True}, + "next_link": {"readonly": True}, } _attribute_map = { - 'value': {'key': 'value', 'type': '[Operation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(OperationListResult, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.value = None self.next_link = None -class PrivateEndpoint(msrest.serialization.Model): +class PrivateEndpoint(_serialization.Model): """The Private Endpoint resource. Variables are only populated by the server, and will be ignored when sending a request. @@ -630,24 +847,20 @@ class PrivateEndpoint(msrest.serialization.Model): """ _validation = { - 'id': {'readonly': True}, + "id": {"readonly": True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, + "id": {"key": "id", "type": "str"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(PrivateEndpoint, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.id = None -class Resource(msrest.serialization.Model): +class Resource(_serialization.Model): """Common fields that are returned in the response for all Azure Resource Manager resources. Variables are only populated by the server, and will be ignored when sending a request. @@ -666,26 +879,22 @@ class Resource(msrest.serialization.Model): """ _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(Resource, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.id = None self.name = None self.type = None @@ -717,28 +926,31 @@ class PrivateEndpointConnection(Resource): :ivar group_ids: The private endpoint connection group ids. :vartype group_ids: list[str] :ivar provisioning_state: The provisioning state of the private endpoint connection resource. - Known values are: "Succeeded", "Creating", "Deleting", "Failed". + Known values are: "Succeeded", "Creating", "Deleting", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.dashboard.models.PrivateEndpointConnectionProvisioningState """ _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "provisioning_state": {"readonly": True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, - 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, - 'group_ids': {'key': 'properties.groupIds', 'type': '[str]'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "private_endpoint": {"key": "properties.privateEndpoint", "type": "PrivateEndpoint"}, + "private_link_service_connection_state": { + "key": "properties.privateLinkServiceConnectionState", + "type": "PrivateLinkServiceConnectionState", + }, + "group_ids": {"key": "properties.groupIds", "type": "[str]"}, + "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, } def __init__( @@ -747,8 +959,8 @@ def __init__( private_endpoint: Optional["_models.PrivateEndpoint"] = None, private_link_service_connection_state: Optional["_models.PrivateLinkServiceConnectionState"] = None, group_ids: Optional[List[str]] = None, - **kwargs - ): + **kwargs: Any + ) -> None: """ :keyword private_endpoint: The resource of private end point. :paramtype private_endpoint: ~azure.mgmt.dashboard.models.PrivateEndpoint @@ -759,14 +971,14 @@ def __init__( :keyword group_ids: The private endpoint connection group ids. :paramtype group_ids: list[str] """ - super(PrivateEndpointConnection, self).__init__(**kwargs) + super().__init__(**kwargs) self.private_endpoint = private_endpoint self.private_link_service_connection_state = private_link_service_connection_state self.group_ids = group_ids self.provisioning_state = None -class PrivateEndpointConnectionListResult(msrest.serialization.Model): +class PrivateEndpointConnectionListResult(_serialization.Model): """List of private endpoint connection associated with the specified storage account. Variables are only populated by the server, and will be ignored when sending a request. @@ -778,25 +990,20 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model): """ _validation = { - 'next_link': {'readonly': True}, + "next_link": {"readonly": True}, } _attribute_map = { - 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, + "value": {"key": "value", "type": "[PrivateEndpointConnection]"}, + "next_link": {"key": "nextLink", "type": "str"}, } - def __init__( - self, - *, - value: Optional[List["_models.PrivateEndpointConnection"]] = None, - **kwargs - ): + def __init__(self, *, value: Optional[List["_models.PrivateEndpointConnection"]] = None, **kwargs: Any) -> None: """ :keyword value: Array of private endpoint connections. :paramtype value: list[~azure.mgmt.dashboard.models.PrivateEndpointConnection] """ - super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) + super().__init__(**kwargs) self.value = value self.next_link = None @@ -818,7 +1025,7 @@ class PrivateLinkResource(Resource): information. :vartype system_data: ~azure.mgmt.dashboard.models.SystemData :ivar provisioning_state: Provisioning state of the resource. Known values are: "Accepted", - "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled", "Deleted", + "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled", "Deleted", and "NotSpecified". :vartype provisioning_state: str or ~azure.mgmt.dashboard.models.ProvisioningState :ivar group_id: The private link resource group id. @@ -830,44 +1037,39 @@ class PrivateLinkResource(Resource): """ _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'group_id': {'readonly': True}, - 'required_members': {'readonly': True}, + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "group_id": {"readonly": True}, + "required_members": {"readonly": True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'group_id': {'key': 'properties.groupId', 'type': 'str'}, - 'required_members': {'key': 'properties.requiredMembers', 'type': '[str]'}, - 'required_zone_names': {'key': 'properties.requiredZoneNames', 'type': '[str]'}, + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, + "group_id": {"key": "properties.groupId", "type": "str"}, + "required_members": {"key": "properties.requiredMembers", "type": "[str]"}, + "required_zone_names": {"key": "properties.requiredZoneNames", "type": "[str]"}, } - def __init__( - self, - *, - required_zone_names: Optional[List[str]] = None, - **kwargs - ): + def __init__(self, *, required_zone_names: Optional[List[str]] = None, **kwargs: Any) -> None: """ :keyword required_zone_names: The private link resource Private link DNS zone name. :paramtype required_zone_names: list[str] """ - super(PrivateLinkResource, self).__init__(**kwargs) + super().__init__(**kwargs) self.provisioning_state = None self.group_id = None self.required_members = None self.required_zone_names = required_zone_names -class PrivateLinkResourceListResult(msrest.serialization.Model): +class PrivateLinkResourceListResult(_serialization.Model): """A list of private link resources. Variables are only populated by the server, and will be ignored when sending a request. @@ -879,34 +1081,30 @@ class PrivateLinkResourceListResult(msrest.serialization.Model): """ _validation = { - 'next_link': {'readonly': True}, + "next_link": {"readonly": True}, } _attribute_map = { - 'value': {'key': 'value', 'type': '[PrivateLinkResource]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, + "value": {"key": "value", "type": "[PrivateLinkResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, } - def __init__( - self, - *, - value: Optional[List["_models.PrivateLinkResource"]] = None, - **kwargs - ): + def __init__(self, *, value: Optional[List["_models.PrivateLinkResource"]] = None, **kwargs: Any) -> None: """ :keyword value: Array of private link resources. :paramtype value: list[~azure.mgmt.dashboard.models.PrivateLinkResource] """ - super(PrivateLinkResourceListResult, self).__init__(**kwargs) + super().__init__(**kwargs) self.value = value self.next_link = None -class PrivateLinkServiceConnectionState(msrest.serialization.Model): - """A collection of information about the state of the connection between service consumer and provider. +class PrivateLinkServiceConnectionState(_serialization.Model): + """A collection of information about the state of the connection between service consumer and + provider. :ivar status: Indicates whether the connection has been Approved/Rejected/Removed by the owner - of the service. Known values are: "Pending", "Approved", "Rejected". + of the service. Known values are: "Pending", "Approved", and "Rejected". :vartype status: str or ~azure.mgmt.dashboard.models.PrivateEndpointServiceConnectionStatus :ivar description: The reason for approval/rejection of the connection. :vartype description: str @@ -916,9 +1114,9 @@ class PrivateLinkServiceConnectionState(msrest.serialization.Model): """ _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - 'actions_required': {'key': 'actionsRequired', 'type': 'str'}, + "status": {"key": "status", "type": "str"}, + "description": {"key": "description", "type": "str"}, + "actions_required": {"key": "actionsRequired", "type": "str"}, } def __init__( @@ -927,11 +1125,11 @@ def __init__( status: Optional[Union[str, "_models.PrivateEndpointServiceConnectionStatus"]] = None, description: Optional[str] = None, actions_required: Optional[str] = None, - **kwargs - ): + **kwargs: Any + ) -> None: """ :keyword status: Indicates whether the connection has been Approved/Rejected/Removed by the - owner of the service. Known values are: "Pending", "Approved", "Rejected". + owner of the service. Known values are: "Pending", "Approved", and "Rejected". :paramtype status: str or ~azure.mgmt.dashboard.models.PrivateEndpointServiceConnectionStatus :keyword description: The reason for approval/rejection of the connection. :paramtype description: str @@ -939,13 +1137,13 @@ def __init__( updates on the consumer. :paramtype actions_required: str """ - super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) + super().__init__(**kwargs) self.status = status self.description = description self.actions_required = actions_required -class ResourceSku(msrest.serialization.Model): +class ResourceSku(_serialization.Model): """ResourceSku. All required parameters must be populated in order to send to Azure. @@ -955,53 +1153,222 @@ class ResourceSku(msrest.serialization.Model): """ _validation = { - 'name': {'required': True}, + "name": {"required": True}, } _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, + "name": {"key": "name", "type": "str"}, } - def __init__( - self, - *, - name: str, - **kwargs - ): + def __init__(self, *, name: str, **kwargs: Any) -> None: """ :keyword name: Required. :paramtype name: str """ - super(ResourceSku, self).__init__(**kwargs) + super().__init__(**kwargs) self.name = name -class SystemData(msrest.serialization.Model): +class SaasSubscriptionDetails(_serialization.Model): + """SaaS subscription details of a Grafana instance. + + :ivar plan_id: + :vartype plan_id: str + :ivar offer_id: + :vartype offer_id: str + :ivar publisher_id: + :vartype publisher_id: str + :ivar term: The current billing term of the SaaS Subscription. + :vartype term: ~azure.mgmt.dashboard.models.SubscriptionTerm + """ + + _attribute_map = { + "plan_id": {"key": "planId", "type": "str"}, + "offer_id": {"key": "offerId", "type": "str"}, + "publisher_id": {"key": "publisherId", "type": "str"}, + "term": {"key": "term", "type": "SubscriptionTerm"}, + } + + def __init__( + self, + *, + plan_id: Optional[str] = None, + offer_id: Optional[str] = None, + publisher_id: Optional[str] = None, + term: Optional["_models.SubscriptionTerm"] = None, + **kwargs: Any + ) -> None: + """ + :keyword plan_id: + :paramtype plan_id: str + :keyword offer_id: + :paramtype offer_id: str + :keyword publisher_id: + :paramtype publisher_id: str + :keyword term: The current billing term of the SaaS Subscription. + :paramtype term: ~azure.mgmt.dashboard.models.SubscriptionTerm + """ + super().__init__(**kwargs) + self.plan_id = plan_id + self.offer_id = offer_id + self.publisher_id = publisher_id + self.term = term + + +class Smtp(_serialization.Model): + """Email server settings. + https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp. + + :ivar enabled: Enable this to allow Grafana to send email. Default is false. + :vartype enabled: bool + :ivar host: SMTP server hostname with port, e.g. test.email.net:587. + :vartype host: str + :ivar user: User of SMTP auth. + :vartype user: str + :ivar password: Password of SMTP auth. If the password contains # or ;, then you have to wrap + it with triple quotes. + :vartype password: str + :ivar from_address: Address used when sending out emails + https://pkg.go.dev/net/mail#Address. + :vartype from_address: str + :ivar from_name: Name to be used when sending out emails. Default is "Azure Managed Grafana + Notification" + https://pkg.go.dev/net/mail#Address. + :vartype from_name: str + :ivar start_tls_policy: The StartTLSPolicy setting of the SMTP configuration + https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy. Known values are: + "OpportunisticStartTLS", "MandatoryStartTLS", and "NoStartTLS". + :vartype start_tls_policy: str or ~azure.mgmt.dashboard.models.StartTLSPolicy + :ivar skip_verify: Verify SSL for SMTP server. Default is false + https://pkg.go.dev/crypto/tls#Config. + :vartype skip_verify: bool + """ + + _attribute_map = { + "enabled": {"key": "enabled", "type": "bool"}, + "host": {"key": "host", "type": "str"}, + "user": {"key": "user", "type": "str"}, + "password": {"key": "password", "type": "str"}, + "from_address": {"key": "fromAddress", "type": "str"}, + "from_name": {"key": "fromName", "type": "str"}, + "start_tls_policy": {"key": "startTLSPolicy", "type": "str"}, + "skip_verify": {"key": "skipVerify", "type": "bool"}, + } + + def __init__( + self, + *, + enabled: bool = False, + host: Optional[str] = None, + user: Optional[str] = None, + password: Optional[str] = None, + from_address: Optional[str] = None, + from_name: Optional[str] = None, + start_tls_policy: Optional[Union[str, "_models.StartTLSPolicy"]] = None, + skip_verify: Optional[bool] = None, + **kwargs: Any + ) -> None: + """ + :keyword enabled: Enable this to allow Grafana to send email. Default is false. + :paramtype enabled: bool + :keyword host: SMTP server hostname with port, e.g. test.email.net:587. + :paramtype host: str + :keyword user: User of SMTP auth. + :paramtype user: str + :keyword password: Password of SMTP auth. If the password contains # or ;, then you have to + wrap it with triple quotes. + :paramtype password: str + :keyword from_address: Address used when sending out emails + https://pkg.go.dev/net/mail#Address. + :paramtype from_address: str + :keyword from_name: Name to be used when sending out emails. Default is "Azure Managed Grafana + Notification" + https://pkg.go.dev/net/mail#Address. + :paramtype from_name: str + :keyword start_tls_policy: The StartTLSPolicy setting of the SMTP configuration + https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy. Known values are: + "OpportunisticStartTLS", "MandatoryStartTLS", and "NoStartTLS". + :paramtype start_tls_policy: str or ~azure.mgmt.dashboard.models.StartTLSPolicy + :keyword skip_verify: Verify SSL for SMTP server. Default is false + https://pkg.go.dev/crypto/tls#Config. + :paramtype skip_verify: bool + """ + super().__init__(**kwargs) + self.enabled = enabled + self.host = host + self.user = user + self.password = password + self.from_address = from_address + self.from_name = from_name + self.start_tls_policy = start_tls_policy + self.skip_verify = skip_verify + + +class SubscriptionTerm(_serialization.Model): + """The current billing term of the SaaS Subscription. + + :ivar term_unit: + :vartype term_unit: str + :ivar start_date: The date and time in UTC of when the billing term starts. + :vartype start_date: ~datetime.datetime + :ivar end_date: The date and time in UTC of when the billing term ends. + :vartype end_date: ~datetime.datetime + """ + + _attribute_map = { + "term_unit": {"key": "termUnit", "type": "str"}, + "start_date": {"key": "startDate", "type": "iso-8601"}, + "end_date": {"key": "endDate", "type": "iso-8601"}, + } + + def __init__( + self, + *, + term_unit: Optional[str] = None, + start_date: Optional[datetime.datetime] = None, + end_date: Optional[datetime.datetime] = None, + **kwargs: Any + ) -> None: + """ + :keyword term_unit: + :paramtype term_unit: str + :keyword start_date: The date and time in UTC of when the billing term starts. + :paramtype start_date: ~datetime.datetime + :keyword end_date: The date and time in UTC of when the billing term ends. + :paramtype end_date: ~datetime.datetime + """ + super().__init__(**kwargs) + self.term_unit = term_unit + self.start_date = start_date + self.end_date = end_date + + +class SystemData(_serialization.Model): """Metadata pertaining to creation and last modification of the resource. :ivar created_by: The identity that created the resource. :vartype created_by: str :ivar created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", "Key". + "User", "Application", "ManagedIdentity", and "Key". :vartype created_by_type: str or ~azure.mgmt.dashboard.models.CreatedByType :ivar created_at: The timestamp of resource creation (UTC). :vartype created_at: ~datetime.datetime :ivar last_modified_by: The identity that last modified the resource. :vartype last_modified_by: str :ivar last_modified_by_type: The type of identity that last modified the resource. Known values - are: "User", "Application", "ManagedIdentity", "Key". + are: "User", "Application", "ManagedIdentity", and "Key". :vartype last_modified_by_type: str or ~azure.mgmt.dashboard.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime """ _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, } def __init__( @@ -1013,25 +1380,25 @@ def __init__( last_modified_by: Optional[str] = None, last_modified_by_type: Optional[Union[str, "_models.CreatedByType"]] = None, last_modified_at: Optional[datetime.datetime] = None, - **kwargs - ): + **kwargs: Any + ) -> None: """ :keyword created_by: The identity that created the resource. :paramtype created_by: str :keyword created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", "Key". + "User", "Application", "ManagedIdentity", and "Key". :paramtype created_by_type: str or ~azure.mgmt.dashboard.models.CreatedByType :keyword created_at: The timestamp of resource creation (UTC). :paramtype created_at: ~datetime.datetime :keyword last_modified_by: The identity that last modified the resource. :paramtype last_modified_by: str :keyword last_modified_by_type: The type of identity that last modified the resource. Known - values are: "User", "Application", "ManagedIdentity", "Key". + values are: "User", "Application", "ManagedIdentity", and "Key". :paramtype last_modified_by_type: str or ~azure.mgmt.dashboard.models.CreatedByType :keyword last_modified_at: The timestamp of resource last modification (UTC). :paramtype last_modified_at: ~datetime.datetime """ - super(SystemData, self).__init__(**kwargs) + super().__init__(**kwargs) self.created_by = created_by self.created_by_type = created_by_type self.created_at = created_at @@ -1040,7 +1407,7 @@ def __init__( self.last_modified_at = last_modified_at -class UserAssignedIdentity(msrest.serialization.Model): +class UserAssignedIdentity(_serialization.Model): """User assigned identity properties. Variables are only populated by the server, and will be ignored when sending a request. @@ -1052,21 +1419,17 @@ class UserAssignedIdentity(msrest.serialization.Model): """ _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, + "principal_id": {"readonly": True}, + "client_id": {"readonly": True}, } _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, + "principal_id": {"key": "principalId", "type": "str"}, + "client_id": {"key": "clientId", "type": "str"}, } - def __init__( - self, - **kwargs - ): - """ - """ - super(UserAssignedIdentity, self).__init__(**kwargs) + def __init__(self, **kwargs: Any) -> None: + """ """ + super().__init__(**kwargs) self.principal_id = None self.client_id = None diff --git a/src/amg/azext_amg/vendored_sdks/models/_patch.py b/src/amg/azext_amg/vendored_sdks/models/_patch.py index 0ad201a8c5..f7dd325103 100644 --- a/src/amg/azext_amg/vendored_sdks/models/_patch.py +++ b/src/amg/azext_amg/vendored_sdks/models/_patch.py @@ -10,6 +10,7 @@ __all__: List[str] = [] # Add all objects you want publicly available to users at this package level + def patch_sdk(): """Do not remove from this file. diff --git a/src/amg/azext_amg/vendored_sdks/operations/__init__.py b/src/amg/azext_amg/vendored_sdks/operations/__init__.py index 84f1e6551d..bfe490efcf 100644 --- a/src/amg/azext_amg/vendored_sdks/operations/__init__.py +++ b/src/amg/azext_amg/vendored_sdks/operations/__init__.py @@ -10,15 +10,18 @@ from ._grafana_operations import GrafanaOperations from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._enterprise_details_operations import EnterpriseDetailsOperations from ._patch import __all__ as _patch_all -from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import * # pylint: disable=unused-wildcard-import from ._patch import patch_sdk as _patch_sdk + __all__ = [ - 'Operations', - 'GrafanaOperations', - 'PrivateEndpointConnectionsOperations', - 'PrivateLinkResourcesOperations', + "Operations", + "GrafanaOperations", + "PrivateEndpointConnectionsOperations", + "PrivateLinkResourcesOperations", + "EnterpriseDetailsOperations", ] __all__.extend([p for p in _patch_all if p not in __all__]) -_patch_sdk() \ No newline at end of file +_patch_sdk() diff --git a/src/amg/azext_amg/vendored_sdks/operations/_enterprise_details_operations.py b/src/amg/azext_amg/vendored_sdks/operations/_enterprise_details_operations.py new file mode 100644 index 0000000000..f0fe85d827 --- /dev/null +++ b/src/amg/azext_amg/vendored_sdks/operations/_enterprise_details_operations.py @@ -0,0 +1,160 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import sys +from typing import Any, Callable, Dict, Optional, TypeVar + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.utils import case_insensitive_dict +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models +from .._serialization import Serializer +from .._vendor import _convert_request, _format_url_section + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + + +def build_post_request( + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/checkEnterpriseDetails", + ) # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), + } + + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + + # Construct parameters + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") + + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) + + +class EnterpriseDetailsOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure.mgmt.dashboard.DashboardManagementClient`'s + :attr:`enterprise_details` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + @distributed_trace + def post(self, resource_group_name: str, workspace_name: str, **kwargs: Any) -> _models.EnterpriseDetails: + """Retrieve enterprise add-on details information. + + Retrieve enterprise add-on details information. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: EnterpriseDetails or the result of cls(response) + :rtype: ~azure.mgmt.dashboard.models.EnterpriseDetails + :raises ~azure.core.exceptions.HttpResponseError: + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.EnterpriseDetails] = kwargs.pop("cls", None) + + request = build_post_request( + resource_group_name=resource_group_name, + workspace_name=workspace_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.post.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize("EnterpriseDetails", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + post.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/checkEnterpriseDetails" + } diff --git a/src/amg/azext_amg/vendored_sdks/operations/_grafana_operations.py b/src/amg/azext_amg/vendored_sdks/operations/_grafana_operations.py index 6899c0a354..bd0610d19c 100644 --- a/src/amg/azext_amg/vendored_sdks/operations/_grafana_operations.py +++ b/src/amg/azext_amg/vendored_sdks/operations/_grafana_operations.py @@ -6,11 +6,18 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union, cast - -from msrest import Serializer - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +import sys +from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload +import urllib.parse + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpResponse @@ -22,243 +29,223 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models as _models +from .._serialization import Serializer from .._vendor import _convert_request, _format_url_section -T = TypeVar('T') + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] _SERIALIZER = Serializer() _SERIALIZER.client_side_validation = False -def build_list_request( - subscription_id: str, - **kwargs: Any -) -> HttpRequest: + +def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana") path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -def build_list_by_resource_group_request( - subscription_id: str, - resource_group_name: str, - **kwargs: Any -) -> HttpRequest: + +def build_list_by_resource_group_request(resource_group_name: str, subscription_id: str, **kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) def build_get_request( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - **kwargs: Any + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -def build_create_request_initial( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - *, - json: Optional[_models.ManagedGrafana] = None, - content: Any = None, - **kwargs: Any + +def build_create_request( + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers if content_type is not None: - _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="PUT", - url=_url, - params=_params, - headers=_headers, - json=json, - content=content, - **kwargs - ) + _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) def build_update_request( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - *, - json: Optional[_models.ManagedGrafanaUpdateParameters] = None, - content: Any = None, - **kwargs: Any + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers if content_type is not None: - _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="PATCH", - url=_url, - params=_params, - headers=_headers, - json=json, - content=content, - **kwargs - ) + _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="PATCH", url=_url, params=_params, headers=_headers, **kwargs) -def build_delete_request_initial( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - **kwargs: Any +def build_delete_request( + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="DELETE", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, params=_params, headers=_headers, **kwargs) + class GrafanaOperations: """ @@ -279,56 +266,61 @@ def __init__(self, *args, **kwargs): self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace - def list( - self, - **kwargs: Any - ) -> Iterable[_models.ManagedGrafanaListResponse]: + def list(self, **kwargs: Any) -> Iterable["_models.ManagedGrafana"]: """List all resources of workspaces for Grafana under the specified subscription. List all resources of workspaces for Grafana under the specified subscription. :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedGrafanaListResponse or the result of - cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.ManagedGrafanaListResponse] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either ManagedGrafana or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafanaListResponse] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.ManagedGrafanaListResponse] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - subscription_id=self._config.subscription_id, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -336,16 +328,14 @@ def extract_data(pipeline_response): deserialized = self._deserialize("ManagedGrafanaListResponse", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, iter(list_of_elem) def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -356,66 +346,69 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged(get_next, extract_data) - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana"} # type: ignore + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana"} @distributed_trace - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs: Any - ) -> Iterable[_models.ManagedGrafanaListResponse]: + def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.ManagedGrafana"]: """List all resources of workspaces for Grafana under the specified resource group. List all resources of workspaces for Grafana under the specified resource group. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedGrafanaListResponse or the result of - cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.ManagedGrafanaListResponse] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either ManagedGrafana or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafanaListResponse] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.ManagedGrafanaListResponse] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_by_resource_group_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list_by_resource_group.metadata['url'], + template_url=self.list_by_resource_group.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_by_resource_group_request( - subscription_id=self._config.subscription_id, - resource_group_name=resource_group_name, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -423,16 +416,14 @@ def extract_data(pipeline_response): deserialized = self._deserialize("ManagedGrafanaListResponse", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, iter(list_of_elem) def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -443,61 +434,60 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged(get_next, extract_data) - return ItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana"} # type: ignore + list_by_resource_group.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana" + } @distributed_trace - def get( - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> _models.ManagedGrafana: + def get(self, resource_group_name: str, workspace_name: str, **kwargs: Any) -> _models.ManagedGrafana: """Get the properties of a specific workspace for Grafana resource. Get the properties of a specific workspace for Grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedGrafana, or the result of cls(response) + :return: ManagedGrafana or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) - request = build_get_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.get.metadata['url'], + template_url=self.get.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200]: @@ -505,82 +495,98 @@ def get( error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore - + get.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } def _create_initial( self, resource_group_name: str, workspace_name: str, - request_body_parameters: _models.ManagedGrafana, + request_body_parameters: Union[_models.ManagedGrafana, IO], **kwargs: Any ) -> _models.ManagedGrafana: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] - - _json = self._serialize.body(request_body_parameters, 'ManagedGrafana') - - request = build_create_request_initial( - subscription_id=self._config.subscription_id, + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) + + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(request_body_parameters, (IO, bytes)): + _content = request_body_parameters + else: + _json = self._serialize.body(request_body_parameters, "ManagedGrafana") + + request = build_create_request( resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, content_type=content_type, json=_json, - template_url=self._create_initial.metadata['url'], + content=_content, + template_url=self._create_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if response.status_code == 201: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized + return cls(pipeline_response, deserialized, {}) # type: ignore - _create_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + return deserialized # type: ignore + _create_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } - @distributed_trace + @overload def begin_create( self, resource_group_name: str, workspace_name: str, request_body_parameters: _models.ManagedGrafana, + *, + content_type: str = "application/json", **kwargs: Any ) -> LROPoller[_models.ManagedGrafana]: """Create or update a workspace for Grafana resource. This API is idempotent, so user can either @@ -590,11 +596,55 @@ def begin_create( create a new grafana or update an existing grafana. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str - :param request_body_parameters: + :param request_body_parameters: Required. :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafana + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either ManagedGrafana or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + def begin_create( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: IO, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[_models.ManagedGrafana]: + """Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Required. + :type request_body_parameters: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this @@ -606,67 +656,106 @@ def begin_create( :return: An instance of LROPoller that returns either ManagedGrafana or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.dashboard.models.ManagedGrafana] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace + def begin_create( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: Union[_models.ManagedGrafana, IO], + **kwargs: Any + ) -> LROPoller[_models.ManagedGrafana]: + """Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + Create or update a workspace for Grafana resource. This API is idempotent, so user can either + create a new grafana or update an existing grafana. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Is either a model type or a IO type. Required. + :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafana or IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either ManagedGrafana or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.dashboard.models.ManagedGrafana] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) + polling: Union[bool, PollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: - raw_result = self._create_initial( # type: ignore + raw_result = self._create_initial( resource_group_name=resource_group_name, workspace_name=workspace_name, request_body_parameters=request_body_parameters, api_version=api_version, content_type=content_type, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: - polling_method = cast(PollingMethod, ARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: PollingMethod - elif polling is False: polling_method = cast(PollingMethod, NoPolling()) - else: polling_method = polling + polling_method: PollingMethod = cast( + PollingMethod, ARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs) + ) + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling if cont_token: return LROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_create.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + begin_create.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } - @distributed_trace + @overload def update( self, resource_group_name: str, workspace_name: str, request_body_parameters: _models.ManagedGrafanaUpdateParameters, + *, + content_type: str = "application/json", **kwargs: Any ) -> _models.ManagedGrafana: """Update a workspace for Grafana resource. @@ -674,49 +763,123 @@ def update( Update a workspace for Grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str - :param request_body_parameters: + :param request_body_parameters: Required. :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafanaUpdateParameters + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedGrafana, or the result of cls(response) + :return: ManagedGrafana or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + def update( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: IO, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> _models.ManagedGrafana: + """Update a workspace for Grafana resource. + + Update a workspace for Grafana resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Required. + :type request_body_parameters: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedGrafana or the result of cls(response) + :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace + def update( + self, + resource_group_name: str, + workspace_name: str, + request_body_parameters: Union[_models.ManagedGrafanaUpdateParameters, IO], + **kwargs: Any + ) -> _models.ManagedGrafana: + """Update a workspace for Grafana resource. + + Update a workspace for Grafana resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param request_body_parameters: Is either a model type or a IO type. Required. + :type request_body_parameters: ~azure.mgmt.dashboard.models.ManagedGrafanaUpdateParameters or + IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedGrafana or the result of cls(response) + :rtype: ~azure.mgmt.dashboard.models.ManagedGrafana + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.ManagedGrafana] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.ManagedGrafana] = kwargs.pop("cls", None) - _json = self._serialize.body(request_body_parameters, 'ManagedGrafanaUpdateParameters') + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(request_body_parameters, (IO, bytes)): + _content = request_body_parameters + else: + _json = self._serialize.body(request_body_parameters, "ManagedGrafanaUpdateParameters") request = build_update_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, content_type=content_type, json=_json, - template_url=self.update.metadata['url'], + content=_content, + template_url=self.update.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200, 202]: @@ -725,80 +888,79 @@ def update( raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if response.status_code == 202: - deserialized = self._deserialize('ManagedGrafana', pipeline_response) + deserialized = self._deserialize("ManagedGrafana", pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized + return cls(pipeline_response, deserialized, {}) # type: ignore - update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + return deserialized # type: ignore + update.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } def _delete_initial( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, **kwargs: Any ) -> None: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[None] = kwargs.pop("cls", None) - - request = build_delete_request_initial( - subscription_id=self._config.subscription_id, + request = build_delete_request( resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self._delete_initial.metadata['url'], + template_url=self._delete_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore - + _delete_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } @distributed_trace - def begin_delete( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> LROPoller[None]: + def begin_delete(self, resource_group_name: str, workspace_name: str, **kwargs: Any) -> LROPoller[None]: """Delete a workspace for Grafana resource. Delete a workspace for Grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -810,52 +972,51 @@ def begin_delete( # pylint: disable=inconsistent-return-statements Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[None] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + cls: ClsType[None] = kwargs.pop("cls", None) + polling: Union[bool, PollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: raw_result = self._delete_initial( # type: ignore resource_group_name=resource_group_name, workspace_name=workspace_name, api_version=api_version, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) - def get_long_running_output(pipeline_response): + def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements if cls: return cls(pipeline_response, None, {}) - if polling is True: - polling_method = cast(PollingMethod, ARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: PollingMethod - elif polling is False: polling_method = cast(PollingMethod, NoPolling()) - else: polling_method = polling + polling_method: PollingMethod = cast( + PollingMethod, ARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs) + ) + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling if cont_token: return LROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}"} # type: ignore + begin_delete.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}" + } diff --git a/src/amg/azext_amg/vendored_sdks/operations/_operations.py b/src/amg/azext_amg/vendored_sdks/operations/_operations.py index b02140f432..d6f61a319e 100644 --- a/src/amg/azext_amg/vendored_sdks/operations/_operations.py +++ b/src/amg/azext_amg/vendored_sdks/operations/_operations.py @@ -6,11 +6,18 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import sys from typing import Any, Callable, Dict, Iterable, Optional, TypeVar - -from msrest import Serializer - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +import urllib.parse + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpResponse @@ -20,38 +27,40 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models +from .._serialization import Serializer from .._vendor import _convert_request -T = TypeVar('T') + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] _SERIALIZER = Serializer() _SERIALIZER.client_side_validation = False -def build_list_request( - **kwargs: Any -) -> HttpRequest: + +def build_list_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL _url = kwargs.pop("template_url", "/providers/Microsoft.Dashboard/operations") # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + class Operations: """ @@ -72,53 +81,60 @@ def __init__(self, *args, **kwargs): self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace - def list( - self, - **kwargs: Any - ) -> Iterable[_models.OperationListResult]: + def list(self, **kwargs: Any) -> Iterable["_models.Operation"]: """List all available API operations provided by Microsoft.Dashboard. List all available API operations provided by Microsoft.Dashboard. :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.OperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either Operation or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.Operation] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.OperationListResult] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.OperationListResult] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -126,16 +142,14 @@ def extract_data(pipeline_response): deserialized = self._deserialize("OperationListResult", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, iter(list_of_elem) def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -146,8 +160,6 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged(get_next, extract_data) - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/providers/Microsoft.Dashboard/operations"} # type: ignore + list.metadata = {"url": "/providers/Microsoft.Dashboard/operations"} diff --git a/src/amg/azext_amg/vendored_sdks/operations/_patch.py b/src/amg/azext_amg/vendored_sdks/operations/_patch.py index 0ad201a8c5..f7dd325103 100644 --- a/src/amg/azext_amg/vendored_sdks/operations/_patch.py +++ b/src/amg/azext_amg/vendored_sdks/operations/_patch.py @@ -10,6 +10,7 @@ __all__: List[str] = [] # Add all objects you want publicly available to users at this package level + def patch_sdk(): """Do not remove from this file. diff --git a/src/amg/azext_amg/vendored_sdks/operations/_private_endpoint_connections_operations.py b/src/amg/azext_amg/vendored_sdks/operations/_private_endpoint_connections_operations.py index 356e362603..546dad55a3 100644 --- a/src/amg/azext_amg/vendored_sdks/operations/_private_endpoint_connections_operations.py +++ b/src/amg/azext_amg/vendored_sdks/operations/_private_endpoint_connections_operations.py @@ -6,11 +6,18 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union, cast - -from msrest import Serializer - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +import sys +from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload +import urllib.parse + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpResponse @@ -22,173 +29,183 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models as _models +from .._serialization import Serializer from .._vendor import _convert_request, _format_url_section -T = TypeVar('T') + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] _SERIALIZER = Serializer() _SERIALIZER.client_side_validation = False + def build_get_request( - subscription_id: str, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, + subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), - "privateEndpointConnectionName": _SERIALIZER.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), + "privateEndpointConnectionName": _SERIALIZER.url( + "private_endpoint_connection_name", private_endpoint_connection_name, "str" + ), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -def build_approve_request_initial( - subscription_id: str, + +def build_approve_request( resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, - *, - json: Optional[_models.PrivateEndpointConnection] = None, - content: Any = None, + subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), - "privateEndpointConnectionName": _SERIALIZER.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), + "privateEndpointConnectionName": _SERIALIZER.url( + "private_endpoint_connection_name", private_endpoint_connection_name, "str" + ), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers if content_type is not None: - _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="PUT", - url=_url, - params=_params, - headers=_headers, - json=json, - content=content, - **kwargs - ) + _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) -def build_delete_request_initial( - subscription_id: str, + +def build_delete_request( resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, + subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), - "privateEndpointConnectionName": _SERIALIZER.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), + "privateEndpointConnectionName": _SERIALIZER.url( + "private_endpoint_connection_name", private_endpoint_connection_name, "str" + ), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="DELETE", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, params=_params, headers=_headers, **kwargs) def build_list_request( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - **kwargs: Any + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + class PrivateEndpointConnectionsOperations: """ @@ -209,61 +226,60 @@ def __init__(self, *args, **kwargs): self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace def get( - self, - resource_group_name: str, - workspace_name: str, - private_endpoint_connection_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any ) -> _models.PrivateEndpointConnection: """Get private endpoint connections. Get private endpoint connections. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed - Grafana. + Grafana. Required. :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateEndpointConnection, or the result of cls(response) + :return: PrivateEndpointConnection or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.PrivateEndpointConnection - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnection] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateEndpointConnection] = kwargs.pop("cls", None) - request = build_get_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.get.metadata['url'], + template_url=self.get.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200]: @@ -271,84 +287,100 @@ def get( error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + deserialized = self._deserialize("PrivateEndpointConnection", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore - + get.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } def _approve_initial( self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, - body: Optional[_models.PrivateEndpointConnection] = None, + body: Optional[Union[_models.PrivateEndpointConnection, IO]] = None, **kwargs: Any ) -> _models.PrivateEndpointConnection: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnection] - - if body is not None: - _json = self._serialize.body(body, 'PrivateEndpointConnection') + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.PrivateEndpointConnection] = kwargs.pop("cls", None) + + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(body, (IO, bytes)): + _content = body else: - _json = None + if body is not None: + _json = self._serialize.body(body, "PrivateEndpointConnection") + else: + _json = None - request = build_approve_request_initial( - subscription_id=self._config.subscription_id, + request = build_approve_request( resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, + subscription_id=self._config.subscription_id, api_version=api_version, content_type=content_type, json=_json, - template_url=self._approve_initial.metadata['url'], + content=_content, + template_url=self._approve_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + deserialized = self._deserialize("PrivateEndpointConnection", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - _approve_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore - + _approve_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } - @distributed_trace + @overload def begin_approve( self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, body: Optional[_models.PrivateEndpointConnection] = None, + *, + content_type: str = "application/json", **kwargs: Any ) -> LROPoller[_models.PrivateEndpointConnection]: """Manual approve private endpoint connection. @@ -356,14 +388,60 @@ def begin_approve( Manual approve private endpoint connection. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed - Grafana. + Grafana. Required. :type private_endpoint_connection_name: str - :param body: Default value is None. + :param body: Default value is None. :type body: ~azure.mgmt.dashboard.models.PrivateEndpointConnection + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result + of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.dashboard.models.PrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + def begin_approve( + self, + resource_group_name: str, + workspace_name: str, + private_endpoint_connection_name: str, + body: Optional[IO] = None, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[_models.PrivateEndpointConnection]: + """Manual approve private endpoint connection. + + Manual approve private endpoint connection. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed + Grafana. Required. + :type private_endpoint_connection_name: str + :param body: Default value is None. + :type body: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this @@ -375,129 +453,166 @@ def begin_approve( :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.dashboard.models.PrivateEndpointConnection] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace + def begin_approve( + self, + resource_group_name: str, + workspace_name: str, + private_endpoint_connection_name: str, + body: Optional[Union[_models.PrivateEndpointConnection, IO]] = None, + **kwargs: Any + ) -> LROPoller[_models.PrivateEndpointConnection]: + """Manual approve private endpoint connection. + + Manual approve private endpoint connection. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param workspace_name: The workspace name of Azure Managed Grafana. Required. + :type workspace_name: str + :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed + Grafana. Required. + :type private_endpoint_connection_name: str + :param body: Is either a model type or a IO type. Default value is None. + :type body: ~azure.mgmt.dashboard.models.PrivateEndpointConnection or IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result + of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.dashboard.models.PrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnection] - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.PrivateEndpointConnection] = kwargs.pop("cls", None) + polling: Union[bool, PollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: - raw_result = self._approve_initial( # type: ignore + raw_result = self._approve_initial( resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, body=body, api_version=api_version, content_type=content_type, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) def get_long_running_output(pipeline_response): - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + deserialized = self._deserialize("PrivateEndpointConnection", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: - polling_method = cast(PollingMethod, ARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: PollingMethod - elif polling is False: polling_method = cast(PollingMethod, NoPolling()) - else: polling_method = polling + polling_method: PollingMethod = cast( + PollingMethod, ARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs) + ) + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling if cont_token: return LROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_approve.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore + begin_approve.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } def _delete_initial( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - private_endpoint_connection_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any ) -> None: error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[None] = kwargs.pop("cls", None) - - request = build_delete_request_initial( - subscription_id=self._config.subscription_id, + request = build_delete_request( resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self._delete_initial.metadata['url'], + template_url=self._delete_initial.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore - + _delete_initial.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } @distributed_trace - def begin_delete( # pylint: disable=inconsistent-return-statements - self, - resource_group_name: str, - workspace_name: str, - private_endpoint_connection_name: str, - **kwargs: Any + def begin_delete( + self, resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any ) -> LROPoller[None]: """Delete private endpoint connection. Delete private endpoint connection. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :param private_endpoint_connection_name: The private endpoint connection name of Azure Managed - Grafana. + Grafana. Required. :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -509,117 +624,121 @@ def begin_delete( # pylint: disable=inconsistent-return-statements Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[None] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[None] - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + cls: ClsType[None] = kwargs.pop("cls", None) + polling: Union[bool, PollingMethod] = kwargs.pop("polling", True) + lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) + cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: raw_result = self._delete_initial( # type: ignore resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, api_version=api_version, - cls=lambda x,y,z: x, + cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) - kwargs.pop('error_map', None) + kwargs.pop("error_map", None) - def get_long_running_output(pipeline_response): + def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements if cls: return cls(pipeline_response, None, {}) - if polling is True: - polling_method = cast(PollingMethod, ARMPolling( - lro_delay, - lro_options={'final-state-via': 'azure-async-operation'}, - - **kwargs - )) # type: PollingMethod - elif polling is False: polling_method = cast(PollingMethod, NoPolling()) - else: polling_method = polling + polling_method: PollingMethod = cast( + PollingMethod, ARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs) + ) + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling if cont_token: return LROPoller.from_continuation_token( polling_method=polling_method, continuation_token=cont_token, client=self._client, - deserialization_callback=get_long_running_output + deserialization_callback=get_long_running_output, ) - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore - begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}"} # type: ignore + begin_delete.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}" + } @distributed_trace def list( - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> Iterable[_models.PrivateEndpointConnectionListResult]: + self, resource_group_name: str, workspace_name: str, **kwargs: Any + ) -> Iterable["_models.PrivateEndpointConnection"]: """Get private endpoint connection. Get private endpoint connection. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result - of cls(response) - :rtype: - ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.PrivateEndpointConnectionListResult] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either PrivateEndpointConnection or the result of + cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.PrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateEndpointConnectionListResult] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateEndpointConnectionListResult] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - subscription_id=self._config.subscription_id, - resource_group_name=resource_group_name, - workspace_name=workspace_name, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -627,16 +746,14 @@ def extract_data(pipeline_response): deserialized = self._deserialize("PrivateEndpointConnectionListResult", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, iter(list_of_elem) def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -647,8 +764,8 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged(get_next, extract_data) - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections"} # type: ignore + list.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections" + } diff --git a/src/amg/azext_amg/vendored_sdks/operations/_private_link_resources_operations.py b/src/amg/azext_amg/vendored_sdks/operations/_private_link_resources_operations.py index 2c3319bb4f..369cb1feb6 100644 --- a/src/amg/azext_amg/vendored_sdks/operations/_private_link_resources_operations.py +++ b/src/amg/azext_amg/vendored_sdks/operations/_private_link_resources_operations.py @@ -6,11 +6,18 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import sys from typing import Any, Callable, Dict, Iterable, Optional, TypeVar - -from msrest import Serializer - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +import urllib.parse + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpResponse @@ -20,87 +27,90 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models +from .._serialization import Serializer from .._vendor import _convert_request, _format_url_section -T = TypeVar('T') + +if sys.version_info >= (3, 8): + from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports +else: + from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports +T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] _SERIALIZER = Serializer() _SERIALIZER.client_side_validation = False + def build_list_request( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - **kwargs: Any + resource_group_name: str, workspace_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) def build_get_request( - subscription_id: str, - resource_group_name: str, - workspace_name: str, - private_link_resource_name: str, - **kwargs: Any + resource_group_name: str, workspace_name: str, private_link_resource_name: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - accept = _headers.pop('Accept', "application/json") + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", "2022-10-01-preview") + ) + accept = _headers.pop("Accept", "application/json") # Construct URL - _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}") # pylint: disable=line-too-long + _url = kwargs.pop( + "template_url", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}", + ) # pylint: disable=line-too-long path_format_arguments = { - "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), - "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), - "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'), - "privateLinkResourceName": _SERIALIZER.url("private_link_resource_name", private_link_resource_name, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1), + "resourceGroupName": _SERIALIZER.url( + "resource_group_name", resource_group_name, "str", max_length=90, min_length=1 + ), + "workspaceName": _SERIALIZER.url("workspace_name", workspace_name, "str"), + "privateLinkResourceName": _SERIALIZER.url("private_link_resource_name", private_link_resource_name, "str"), } - _url = _format_url_section(_url, **path_format_arguments) + _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore # Construct parameters - _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') - - return HttpRequest( - method="GET", - url=_url, - params=_params, - headers=_headers, - **kwargs - ) + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + class PrivateLinkResourcesOperations: """ @@ -121,67 +131,70 @@ def __init__(self, *args, **kwargs): self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") - @distributed_trace def list( - self, - resource_group_name: str, - workspace_name: str, - **kwargs: Any - ) -> Iterable[_models.PrivateLinkResourceListResult]: + self, resource_group_name: str, workspace_name: str, **kwargs: Any + ) -> Iterable["_models.PrivateLinkResource"]: """List all private link resources information for this grafana resource. List all private link resources information for this grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PrivateLinkResourceListResult or the result of - cls(response) - :rtype: - ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.PrivateLinkResourceListResult] - :raises: ~azure.core.exceptions.HttpResponseError + :return: An iterator like instance of either PrivateLinkResource or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.dashboard.models.PrivateLinkResource] + :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateLinkResourceListResult] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateLinkResourceListResult] = kwargs.pop("cls", None) error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) + def prepare_request(next_link=None): if not next_link: - + request = build_list_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.list.metadata['url'], + template_url=self.list.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) else: - - request = build_list_request( - subscription_id=self._config.subscription_id, - resource_group_name=resource_group_name, - workspace_name=workspace_name, - api_version=api_version, - template_url=next_link, - headers=_headers, - params=_params, + # make call to next link with the client's api-version + _parsed_next_link = urllib.parse.urlparse(next_link) + _next_request_params = case_insensitive_dict( + { + key: [urllib.parse.quote(v) for v in value] + for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items() + } + ) + _next_request_params["api-version"] = self._config.api_version + request = HttpRequest( + "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) request.method = "GET" return request @@ -189,16 +202,14 @@ def extract_data(pipeline_response): deserialized = self._deserialize("PrivateLinkResourceListResult", pipeline_response) list_of_elem = deserialized.value if cls: - list_of_elem = cls(list_of_elem) + list_of_elem = cls(list_of_elem) # type: ignore return deserialized.next_link or None, iter(list_of_elem) def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) response = pipeline_response.http_response @@ -209,65 +220,65 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged(get_next, extract_data) - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources"} # type: ignore + list.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources" + } @distributed_trace def get( - self, - resource_group_name: str, - workspace_name: str, - private_link_resource_name: str, - **kwargs: Any + self, resource_group_name: str, workspace_name: str, private_link_resource_name: str, **kwargs: Any ) -> _models.PrivateLinkResource: """Get specific private link resource information for this grafana resource. Get specific private link resource information for this grafana resource. :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. :type resource_group_name: str - :param workspace_name: The workspace name of Azure Managed Grafana. + :param workspace_name: The workspace name of Azure Managed Grafana. Required. :type workspace_name: str - :param private_link_resource_name: + :param private_link_resource_name: Required. :type private_link_resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateLinkResource, or the result of cls(response) + :return: PrivateLinkResource or the result of cls(response) :rtype: ~azure.mgmt.dashboard.models.PrivateLinkResource - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, } - error_map.update(kwargs.pop('error_map', {}) or {}) + error_map.update(kwargs.pop("error_map", {}) or {}) _headers = kwargs.pop("headers", {}) or {} _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-08-01")) # type: str - cls = kwargs.pop('cls', None) # type: ClsType[_models.PrivateLinkResource] + api_version: Literal["2022-10-01-preview"] = kwargs.pop( + "api_version", _params.pop("api-version", self._config.api_version) + ) + cls: ClsType[_models.PrivateLinkResource] = kwargs.pop("cls", None) - request = build_get_request( - subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, workspace_name=workspace_name, private_link_resource_name=private_link_resource_name, + subscription_id=self._config.subscription_id, api_version=api_version, - template_url=self.get.metadata['url'], + template_url=self.get.metadata["url"], headers=_headers, params=_params, ) request = _convert_request(request) - request.url = self._client.format_url(request.url) # type: ignore + request.url = self._client.format_url(request.url) - pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access - request, - stream=False, - **kwargs + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs ) + response = pipeline_response.http_response if response.status_code not in [200]: @@ -275,12 +286,13 @@ def get( error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = self._deserialize('PrivateLinkResource', pipeline_response) + deserialized = self._deserialize("PrivateLinkResource", pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}"} # type: ignore - + get.metadata = { + "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}" + } diff --git a/src/amg/azext_amg/vendored_sdks/py.typed b/src/amg/azext_amg/vendored_sdks/py.typed new file mode 100644 index 0000000000..e5aff4f83a --- /dev/null +++ b/src/amg/azext_amg/vendored_sdks/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file