diff --git a/tests/test_commands/conftest.py b/tests/test_commands/conftest.py index 392f9e5f..f01e5a59 100644 --- a/tests/test_commands/conftest.py +++ b/tests/test_commands/conftest.py @@ -50,7 +50,8 @@ ItemType.REFLEX, ItemType.REPORT, ItemType.SQL_DATABASE, ItemType.SEMANTIC_MODEL, ItemType.SPARK_JOB_DEFINITION, ItemType.WAREHOUSE, ItemType.COPYJOB, - ItemType.GRAPHQLAPI, ItemType.DATAFLOW, + ItemType.GRAPHQLAPI, ItemType.DATAFLOW, ItemType.COSMOS_DB_DATABASE, + ItemType.USER_DATA_FUNCTION, ItemType.GRAPH_QUERY_SET, ItemType.DIGITAL_TWIN_BUILDER ]) basic_item_parametrize = pytest.mark.parametrize("item_type", [ @@ -267,7 +268,8 @@ def workspace(vcr_instance, test_data): workspace_name = f"{display_name}.Workspace" workspace_path = f"/{workspace_name}" - mkdir(workspace_path, params=[f"capacityName={test_data.capacity.name}"]) + mkdir(workspace_path, params=[ + f"capacityName={test_data.capacity.name}"]) yield EntityMetadata(display_name, workspace_name, workspace_path) rm(workspace_path) @@ -292,7 +294,8 @@ def _create_item( generated_name = custom_name else: # Use the test's specific recording file - generated_name = generate_random_string(vcr_instance, cassette_name) + generated_name = generate_random_string( + vcr_instance, cassette_name) item_name = f"{generated_name}.{type}" item_path = cli_path_join(path, item_name) @@ -318,7 +321,8 @@ def _create_item( @pytest.fixture def folder_factory(vcr_instance, cassette_name, workspace): # Keep track of all folders created during this test - current_config = state_config.get_config(fab_constant.FAB_FOLDER_LISTING_ENABLED) + current_config = state_config.get_config( + fab_constant.FAB_FOLDER_LISTING_ENABLED) state_config.set_config(fab_constant.FAB_FOLDER_LISTING_ENABLED, "true") created_folders = [] @@ -348,7 +352,8 @@ def _create_folder( for metadata in reversed(created_folders): rm(metadata.full_path) - state_config.set_config(fab_constant.FAB_FOLDER_LISTING_ENABLED, current_config) + state_config.set_config( + fab_constant.FAB_FOLDER_LISTING_ENABLED, current_config) @pytest.fixture @@ -374,7 +379,8 @@ def _create_virtual_item( """ generated_name = generate_random_string(vcr_instance, cassette_name) virtual_item_name = f"{generated_name}.{str(VICMap[type])}" - virtual_item_path = cli_path_join(workspace_path, str(type), virtual_item_name) + virtual_item_path = cli_path_join( + workspace_path, str(type), virtual_item_name) match type: @@ -427,7 +433,8 @@ def _create_virtual_item( mkdir(virtual_item_path, params) # Build the metadata for the created resource - metadata = EntityMetadata(generated_name, virtual_item_name, virtual_item_path) + metadata = EntityMetadata( + generated_name, virtual_item_name, virtual_item_path) if should_clean: created_virtual_items.append(metadata) return metadata @@ -457,10 +464,12 @@ def _create_workspace(special_character=None): workspace_name = f"{generated_name}.Workspace" workspace_path = f"/{workspace_name}" - mkdir(workspace_path, params=[f"capacityName={test_data.capacity.name}"]) + mkdir(workspace_path, params=[ + f"capacityName={test_data.capacity.name}"]) # Build the metadata for the created resource - metadata = EntityMetadata(generated_name, workspace_name, workspace_path) + metadata = EntityMetadata( + generated_name, workspace_name, workspace_path) created_workspaces.append(metadata) return metadata @@ -565,7 +574,8 @@ def delete_cassette_if_record_mode_all(vcr_instance, cassette_name): :param cassette_name: The name of the cassette file. """ if vcr_instance.record_mode == "all": - cassette_path = os.path.join(vcr_instance.cassette_library_dir, cassette_name) + cassette_path = os.path.join( + vcr_instance.cassette_library_dir, cassette_name) if os.path.exists(cassette_path): os.remove(cassette_path) @@ -673,7 +683,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): fab_default_az_location = state_config.get_config( fab_constant.FAB_DEFAULT_AZ_LOCATION ) - fab_default_az_admin = state_config.get_config(fab_constant.FAB_DEFAULT_AZ_ADMIN) + fab_default_az_admin = state_config.get_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN) # Setup new values state_config.set_config( @@ -687,7 +698,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): state_config.set_config( fab_constant.FAB_DEFAULT_AZ_LOCATION, test_data.azure_location ) - state_config.set_config(fab_constant.FAB_DEFAULT_AZ_ADMIN, test_data.admin.upn) + state_config.set_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN, test_data.admin.upn) yield @@ -701,7 +713,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): state_config.set_config( fab_constant.FAB_DEFAULT_AZ_LOCATION, fab_default_az_location ) - state_config.set_config(fab_constant.FAB_DEFAULT_AZ_ADMIN, fab_default_az_admin) + state_config.set_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN, fab_default_az_admin) # endregion diff --git a/tests/test_commands/recordings/test_commands/test_rm/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_rm/class_setup.yaml index 62facdd3..05fecd8c 100644 --- a/tests/test_commands/recordings/test_commands/test_rm/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_rm/class_setup.yaml @@ -11,12 +11,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"value": [{"id": "94da8ea5-0bd6-4a9e-b717-5fdb482f4c71", "displayName": + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": "My workspace", "description": "", "type": "Personal"}]}' headers: Access-Control-Expose-Headers: @@ -26,15 +26,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '323' + - '2425' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:14 GMT + - Tue, 03 Feb 2026 13:04:56 GMT Pragma: - no-cache RequestId: - - 747536e7-b611-4bda-a2c8-e194b766dc60 + - 3d7eb988-ae76-4ef5-be0a-8b60c9c6ccb5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -42,7 +42,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -60,12 +60,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"value": [{"id": "94da8ea5-0bd6-4a9e-b717-5fdb482f4c71", "displayName": + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": "My workspace", "description": "", "type": "Personal"}]}' headers: Access-Control-Expose-Headers: @@ -75,15 +75,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '323' + - '2425' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:14 GMT + - Tue, 03 Feb 2026 13:04:56 GMT Pragma: - no-cache RequestId: - - 8367dc8c-f2ac-473b-b75c-504851ef091d + - b2dce295-f6cf-45d0-be6b-25ece51aba9f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -91,7 +91,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -109,13 +109,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/capacities response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F16", "region": "West Europe", "state": + "mocked_fabriccli_capacity_name", "sku": "F16", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '456' + - '425' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:18 GMT + - Tue, 03 Feb 2026 13:05:49 GMT Pragma: - no-cache RequestId: - - 52eaccd4-d69e-4c2d-9534-c7ac3b392333 + - 41d4d8d7-a709-4da1-83a3-a2756c3f56fa Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -141,7 +141,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -162,12 +162,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: POST uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "916933dd-72f5-4d84-84d3-3552275d7fbc", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -181,13 +181,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:25 GMT + - Tue, 03 Feb 2026 13:05:57 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/916933dd-72f5-4d84-84d3-3552275d7fbc + - https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb Pragma: - no-cache RequestId: - - aaefd334-14a5-49a5-96f2-95e43178a9ab + - 3db7f79c-8808-4706-ab5e-c56cb3446103 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -195,7 +195,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -213,13 +213,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (rm; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (rm; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"value": [{"id": "94da8ea5-0bd6-4a9e-b717-5fdb482f4c71", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "916933dd-72f5-4d84-84d3-3552275d7fbc", + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '358' + - '2460' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 07:04:21 GMT + - Tue, 03 Feb 2026 13:09:51 GMT Pragma: - no-cache RequestId: - - dfb7a55a-7913-4d92-9c29-ed3a38215dde + - 6bd51d40-7006-4372-ba54-f042b39cdb5d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -246,7 +246,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -264,14 +264,37 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (rm; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (rm; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/916933dd-72f5-4d84-84d3-3552275d7fbc/items + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items response: body: - string: '{"value": [{"id": "35dcd9aa-d9dd-420d-b1d5-959a4b5510ee", "type": "Notebook", + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "916933dd-72f5-4d84-84d3-3552275d7fbc"}]}' + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -280,15 +303,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '175' + - '619' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 07:04:22 GMT + - Tue, 03 Feb 2026 13:09:52 GMT Pragma: - no-cache RequestId: - - 3c2ccb50-3b47-421d-bcdf-af9fff1dc5a7 + - ce52bff5-4128-4b21-9a20-67cef4c1af39 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -296,7 +319,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -316,9 +339,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (rm; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (rm; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/916933dd-72f5-4d84-84d3-3552275d7fbc + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb response: body: string: '' @@ -334,11 +357,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 03 Sep 2025 07:04:22 GMT + - Tue, 03 Feb 2026 13:09:53 GMT Pragma: - no-cache RequestId: - - 5bda3a63-9a93-42a9-8873-93f88c09f3d9 + - a83c05ad-d576-410d-b09f-05375f6ab567 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -346,7 +369,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[CopyJob].yaml new file mode 100644 index 00000000..0283ef0c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[CopyJob].yaml @@ -0,0 +1,506 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:36 GMT + Pragma: + - no-cache + RequestId: + - c8afba5b-3a8d-4d2a-a151-f43d99236d6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:37 GMT + Pragma: + - no-cache + RequestId: + - 4fdd0da9-52ee-4c0d-9a5c-b01047ebf00f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:37 GMT + Pragma: + - no-cache + RequestId: + - 556f880b-ee7c-4651-935e-6ff933c60ddb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CopyJob", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/copyJobs + response: + body: + string: '{"id": "1b7fb124-4ad5-4c1d-adf9-2db896ad9d58", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '161' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:41 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6c2d236a-6d9c-4d2e-9f66-d0cc1f789376 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:43 GMT + Pragma: + - no-cache + RequestId: + - 9d2e0258-2f57-4bd6-be07-cfc511f04862 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "1b7fb124-4ad5-4c1d-adf9-2db896ad9d58", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '236' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:44 GMT + Pragma: + - no-cache + RequestId: + - f06a9285-f34b-4371-83fa-72f2d739e341 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/1b7fb124-4ad5-4c1d-adf9-2db896ad9d58 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:38:45 GMT + Pragma: + - no-cache + RequestId: + - b6cc240d-5f3a-446b-9d0b-76906ae30a98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:45 GMT + Pragma: + - no-cache + RequestId: + - 2238629b-48ef-422a-8a63-f4a8e4f473bf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:47 GMT + Pragma: + - no-cache + RequestId: + - 8d61ec32-f742-4c31-8b76-f55930430f47 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:47 GMT + Pragma: + - no-cache + RequestId: + - 4703046b-e755-411a-9aab-c45138b9c399 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..504c85ec --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[CosmosDBDatabase].yaml @@ -0,0 +1,729 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:22 GMT + Pragma: + - no-cache + RequestId: + - 3f81d35e-3045-43b3-822f-01bc3026ba78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:23 GMT + Pragma: + - no-cache + RequestId: + - 33b1ce24-b935-4604-a9a5-67afa00d44b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:24 GMT + Pragma: + - no-cache + RequestId: + - fac0b717-bbc9-4d7e-81ce-93db8b05eae2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:25 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7d0d07f9-c362-4188-a914-48f1add6dd6b + Pragma: + - no-cache + RequestId: + - 7da4eea8-ccf3-43a4-9491-a8372eff741e + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 7d0d07f9-c362-4188-a914-48f1add6dd6b + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7d0d07f9-c362-4188-a914-48f1add6dd6b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T13:09:25.3628814", + "lastUpdatedTimeUtc": "2026-02-03T13:09:31.2385925", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:46 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7d0d07f9-c362-4188-a914-48f1add6dd6b/result + Pragma: + - no-cache + RequestId: + - 15481145-b7b3-4be1-ba7d-106859992e81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 7d0d07f9-c362-4188-a914-48f1add6dd6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7d0d07f9-c362-4188-a914-48f1add6dd6b/result + response: + body: + string: '{"id": "0803cd5b-5932-4e23-b036-01dc0f8624a6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 13:09:47 GMT + Pragma: + - no-cache + RequestId: + - ca259f5b-d2d1-419e-b53c-3abdd10bde8c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:47 GMT + Pragma: + - no-cache + RequestId: + - b826ee83-88b4-4a39-90eb-f2f9b8754824 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "48c36e87-8839-4118-b808-0ae3b18035c1", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0803cd5b-5932-4e23-b036-01dc0f8624a6", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '683' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:48 GMT + Pragma: + - no-cache + RequestId: + - 1fc9711b-c41a-4577-97d6-85bfbce8aaf5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/0803cd5b-5932-4e23-b036-01dc0f8624a6 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:09:49 GMT + Pragma: + - no-cache + RequestId: + - 3c8871ea-d845-4979-9548-8665287935c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:50 GMT + Pragma: + - no-cache + RequestId: + - 7f8d3581-84b2-47cb-af1c-38364c840d4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:50 GMT + Pragma: + - no-cache + RequestId: + - 98d1010b-853f-4f85-9299-30b884f770af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:51 GMT + Pragma: + - no-cache + RequestId: + - 094e0d30-d2e6-471e-b596-63aed5f664d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DataPipeline].yaml new file mode 100644 index 00000000..fc4601db --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DataPipeline].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:36 GMT + Pragma: + - no-cache + RequestId: + - 6247fbf5-7750-43c1-b2d5-9f4ba4a3a0cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:37 GMT + Pragma: + - no-cache + RequestId: + - d4e4d679-e943-4f9d-a79e-d0f09933fa5c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:39 GMT + Pragma: + - no-cache + RequestId: + - f296bdc9-cdfb-4dd3-94dc-9bc249949b6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/dataPipelines + response: + body: + string: '{"id": "f76136e2-7e61-4379-bdc8-5879830cfb98", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 198b6f9e-68b5-452e-ac48-abbc3e371bd8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:45 GMT + Pragma: + - no-cache + RequestId: + - 8d4281c2-8f66-4e35-92db-86b1d6846830 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "f76136e2-7e61-4379-bdc8-5879830cfb98", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:46 GMT + Pragma: + - no-cache + RequestId: + - db56be61-6f91-4f08-937f-a5bec82f4f72 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/f76136e2-7e61-4379-bdc8-5879830cfb98 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:32:47 GMT + Pragma: + - no-cache + RequestId: + - 0bfd8801-2a23-4934-915e-ab3a098b03d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:48 GMT + Pragma: + - no-cache + RequestId: + - 7819e8b1-e200-4f1f-ad72-05c6bd0ac213 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:49 GMT + Pragma: + - no-cache + RequestId: + - cc0bbe4b-5c64-41f6-8f22-c36fe8391d45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:49 GMT + Pragma: + - no-cache + RequestId: + - 61069c77-5a44-4078-8beb-127d5cc9fda1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Dataflow].yaml new file mode 100644 index 00000000..d5fb723a --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Dataflow].yaml @@ -0,0 +1,513 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:57 GMT + Pragma: + - no-cache + RequestId: + - b7a3f312-ad4f-4155-890d-ff8367ef99df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:58 GMT + Pragma: + - no-cache + RequestId: + - ddbff419-dba6-4162-bc68-35719ea8bd51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:58 GMT + Pragma: + - no-cache + RequestId: + - 806adee8-667f-4dc0-b03a-b856b0d5b751 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Dataflow", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '106' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/dataflows + response: + body: + string: '{"id": "f43f1a5b-6277-49b0-b3da-e9283cca6987", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 633a5191-0c20-4cd3-b770-04809d5db643 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:02 GMT + Pragma: + - no-cache + RequestId: + - b6d5267b-975c-4880-a955-475ea7907730 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f43f1a5b-6277-49b0-b3da-e9283cca6987", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '238' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:03 GMT + Pragma: + - no-cache + RequestId: + - d8e71d31-b105-4a01-8aef-b8dcae8a9f97 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/f43f1a5b-6277-49b0-b3da-e9283cca6987 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:39:03 GMT + Pragma: + - no-cache + RequestId: + - 7a5d6b46-19ec-4575-91e1-66857b0f13f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:04 GMT + Pragma: + - no-cache + RequestId: + - e9e4ec0d-823e-45b4-8651-6a92da7bb776 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '247' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:05 GMT + Pragma: + - no-cache + RequestId: + - a2ae00b6-fffe-4cdd-b7e5-21a4d936769a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '247' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:06 GMT + Pragma: + - no-cache + RequestId: + - 7ab212e1-9aa8-4e68-8d05-9cf56d2e4dcb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DigitalTwinBuilder].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DigitalTwinBuilder].yaml new file mode 100644 index 00000000..36d2d6f2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DigitalTwinBuilder].yaml @@ -0,0 +1,717 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:31 GMT + Pragma: + - no-cache + RequestId: + - 5a2b3626-5b85-40d2-af30-b01563414da2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '526' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:32 GMT + Pragma: + - no-cache + RequestId: + - a1cd9204-5529-4eb9-b3c1-09f43bfd5095 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '526' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:33 GMT + Pragma: + - no-cache + RequestId: + - 3e8a415e-0b06-4d2d-b3df-952c3280a860 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DigitalTwinBuilder", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/digitalTwinBuilders + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:35 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2216f92a-337c-4ad6-b6f1-19b006b9440a + Pragma: + - no-cache + RequestId: + - 37a711c6-da46-4278-a9f5-f01c6b06bf63 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 2216f92a-337c-4ad6-b6f1-19b006b9440a + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2216f92a-337c-4ad6-b6f1-19b006b9440a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T13:08:34.7907676", + "lastUpdatedTimeUtc": "2026-02-03T13:08:41.3384383", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2216f92a-337c-4ad6-b6f1-19b006b9440a/result + Pragma: + - no-cache + RequestId: + - 04e5d97a-1853-42e5-aa6d-0dcaf77a9917 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 2216f92a-337c-4ad6-b6f1-19b006b9440a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2216f92a-337c-4ad6-b6f1-19b006b9440a/result + response: + body: + string: '{"id": "b47eaf57-12e4-41b1-b98f-760323736b3d", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 13:08:57 GMT + Pragma: + - no-cache + RequestId: + - 753e8bfd-8acd-402f-bbc8-27837fd1b371 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:58 GMT + Pragma: + - no-cache + RequestId: + - 319caa64-3761-457d-8e0b-a74f0aa4127f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "b47eaf57-12e4-41b1-b98f-760323736b3d", + "type": "DigitalTwinBuilder", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "f3ecc607-2ae9-4ff2-ab01-cd622c06016e", "type": "DigitalTwinBuilderFlow", + "displayName": "fabcli000001OnDemand", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '680' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:58 GMT + Pragma: + - no-cache + RequestId: + - 160dd5cf-5298-42f7-8dba-edc5a83d9508 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/b47eaf57-12e4-41b1-b98f-760323736b3d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:08:59 GMT + Pragma: + - no-cache + RequestId: + - 7bdd68ae-a4e7-46ce-a055-0d68d8ddddfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:01 GMT + Pragma: + - no-cache + RequestId: + - 680222f0-6f7e-416b-8459-9c7f043f849b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:00 GMT + Pragma: + - no-cache + RequestId: + - 6c47bdec-6549-4d82-a4e5-ad30527e8f1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:02 GMT + Pragma: + - no-cache + RequestId: + - f70c4f98-2906-46e5-8077-2b243efff566 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Environment].yaml new file mode 100644 index 00000000..233e2e87 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Environment].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:51 GMT + Pragma: + - no-cache + RequestId: + - edf51017-3eb6-4170-8287-22ef000a8067 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:51 GMT + Pragma: + - no-cache + RequestId: + - 31152f7d-944b-415e-bf63-94377907e20b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:52 GMT + Pragma: + - no-cache + RequestId: + - ca5e554a-37f6-41d0-b3c4-c216fa944d3d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/environments + response: + body: + string: '{"id": "8d4dba46-1fd3-4549-9ec9-7a8cdeb49c77", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0227184e-4ff1-465d-af88-ae41952ca0fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:55 GMT + Pragma: + - no-cache + RequestId: + - e690177e-588d-4e87-903a-35d07fb680c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "8d4dba46-1fd3-4549-9ec9-7a8cdeb49c77", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:56 GMT + Pragma: + - no-cache + RequestId: + - 28946601-740b-44e1-9ef0-d3dabbd1f99f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/8d4dba46-1fd3-4549-9ec9-7a8cdeb49c77 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:32:56 GMT + Pragma: + - no-cache + RequestId: + - f81188a1-d79f-4387-9bdb-131de480d725 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:57 GMT + Pragma: + - no-cache + RequestId: + - b0a2e30d-64dd-4065-83c3-db1c50c5507c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:58 GMT + Pragma: + - no-cache + RequestId: + - c3e27966-3e43-4875-a455-5db54cb9d9b2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:32:59 GMT + Pragma: + - no-cache + RequestId: + - 5a714802-9508-4ee6-ab07-f5265a075059 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Eventhouse].yaml new file mode 100644 index 00000000..b7ead5c8 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Eventhouse].yaml @@ -0,0 +1,504 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:00 GMT + Pragma: + - no-cache + RequestId: + - e4dc18e0-dd3d-41d7-92d3-87d0ffd67f97 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:01 GMT + Pragma: + - no-cache + RequestId: + - 3ea82e7a-4a51-45a2-a817-63212ead808d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:02 GMT + Pragma: + - no-cache + RequestId: + - a9dd8fe1-b490-498d-be3a-6be418fc39d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/eventhouses + response: + body: + string: '{"id": "a3ed648e-e9a3-4a3c-93c3-86a2bc70b34c", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8515f6da-2659-476c-9486-faedbe242777 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:06 GMT + Pragma: + - no-cache + RequestId: + - e287ccd6-7d37-47a9-b6eb-551a7eb690c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "a3ed648e-e9a3-4a3c-93c3-86a2bc70b34c", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "30a20386-c6af-46c6-90eb-ee264a48f0b2", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:07 GMT + Pragma: + - no-cache + RequestId: + - 4b1fc4cd-cf50-48cf-ad19-03a902293b9f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/a3ed648e-e9a3-4a3c-93c3-86a2bc70b34c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:33:08 GMT + Pragma: + - no-cache + RequestId: + - 0e4c26a2-3773-4664-b3ad-c6113c2863e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:08 GMT + Pragma: + - no-cache + RequestId: + - 4d629e2c-d995-46e6-bc61-0b599be77e79 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:08 GMT + Pragma: + - no-cache + RequestId: + - 6ad3bf47-d333-490d-80f4-60eddafe5bc5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:09 GMT + Pragma: + - no-cache + RequestId: + - 52ad4586-0891-4088-84a9-f78ee629a96d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Eventstream].yaml new file mode 100644 index 00000000..703d4427 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Eventstream].yaml @@ -0,0 +1,602 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:10 GMT + Pragma: + - no-cache + RequestId: + - 67795f0d-ed4a-4df8-a6db-24c966b819a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:10 GMT + Pragma: + - no-cache + RequestId: + - d82ac50f-7ad1-4e19-84b1-773d5faa765f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:12 GMT + Pragma: + - no-cache + RequestId: + - 8ff4b43d-cd25-49f1-b8d7-f3387344f270 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventstream", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/eventstreams + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:13 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/542910ea-a9ed-4a2c-8e4f-f5013abb0149 + Pragma: + - no-cache + RequestId: + - dccd01b7-8dab-49c1-bf1f-7279adc4c8e8 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 542910ea-a9ed-4a2c-8e4f-f5013abb0149 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/542910ea-a9ed-4a2c-8e4f-f5013abb0149 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:33:13.0946755", + "lastUpdatedTimeUtc": "2026-01-29T09:33:16.5634441", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/542910ea-a9ed-4a2c-8e4f-f5013abb0149/result + Pragma: + - no-cache + RequestId: + - 327eb656-2899-4b3e-bcbe-75d772cd3e15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 542910ea-a9ed-4a2c-8e4f-f5013abb0149 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/542910ea-a9ed-4a2c-8e4f-f5013abb0149/result + response: + body: + string: '{"id": "de25f8f9-a62a-44f2-b0dd-73db686a4992", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:33:34 GMT + Pragma: + - no-cache + RequestId: + - cb604ede-09db-4f64-a8fe-6a591693ebb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:35 GMT + Pragma: + - no-cache + RequestId: + - cc300602-5577-4559-8849-a13f8357ef55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "de25f8f9-a62a-44f2-b0dd-73db686a4992", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:36 GMT + Pragma: + - no-cache + RequestId: + - edaf1a6d-8d50-4a91-a894-28851aa014d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/de25f8f9-a62a-44f2-b0dd-73db686a4992 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:33:37 GMT + Pragma: + - no-cache + RequestId: + - 42eb6d54-1460-405e-9b94-305989dc0fff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:37 GMT + Pragma: + - no-cache + RequestId: + - 160cf546-4e11-4f6e-aa57-4d576c992a80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:39 GMT + Pragma: + - no-cache + RequestId: + - 60cfc55c-3151-4fa2-8496-4806ff49019a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:39 GMT + Pragma: + - no-cache + RequestId: + - be76ec23-dabc-440c-a728-e3e64446e2c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[GraphQLApi].yaml new file mode 100644 index 00000000..b2270286 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[GraphQLApi].yaml @@ -0,0 +1,507 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:48 GMT + Pragma: + - no-cache + RequestId: + - b8c07371-f14e-4dc8-bc14-207b7404da20 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:49 GMT + Pragma: + - no-cache + RequestId: + - 253c9738-5a6e-41c4-b8ec-9e70ca4f0bc6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:50 GMT + Pragma: + - no-cache + RequestId: + - 5503028f-6bc1-4652-9608-97ac989240f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQLApi", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/graphqlapis + response: + body: + string: '{"id": "d3803131-78d8-44b3-8c8b-f5d7e5081adc", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2501c17d-87f8-49da-9c94-2a95347e226c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:52 GMT + Pragma: + - no-cache + RequestId: + - f7928adf-3a02-426c-a03e-1c05785c259f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "d3803131-78d8-44b3-8c8b-f5d7e5081adc", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:52 GMT + Pragma: + - no-cache + RequestId: + - 7cf845cf-d454-418c-91f3-ee81e50ff764 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/d3803131-78d8-44b3-8c8b-f5d7e5081adc + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:38:54 GMT + Pragma: + - no-cache + RequestId: + - 5e945106-6420-45c4-a8c0-09c5ec8c120e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:55 GMT + Pragma: + - no-cache + RequestId: + - 43b42306-4862-4584-98be-cb7e87da5287 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:55 GMT + Pragma: + - no-cache + RequestId: + - 5d0d76a2-e251-456a-b8be-9a944830e34c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:56 GMT + Pragma: + - no-cache + RequestId: + - 3590e5c1-8d35-4670-a974-c3116cd9be1b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[GraphQuerySet].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[GraphQuerySet].yaml new file mode 100644 index 00000000..f54bf632 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[GraphQuerySet].yaml @@ -0,0 +1,627 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:03 GMT + Pragma: + - no-cache + RequestId: + - 96cf6a30-f36c-46c7-9c4d-c734910225aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:04 GMT + Pragma: + - no-cache + RequestId: + - dd67ecc2-c9e0-4194-901e-a5e0dfefa55b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:05 GMT + Pragma: + - no-cache + RequestId: + - 358a3c2b-8df6-4369-a5d5-53b8b1411b89 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQuerySet", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '111' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/GraphQuerySets + response: + body: + string: '{"id": "eaac3929-fe84-4ddd-9777-a2d20acea93c", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:06 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ac515724-b723-4283-82d6-d3021d6054a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:06 GMT + Pragma: + - no-cache + RequestId: + - 6218cf07-ee93-4d84-aa57-c179b6ff36fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "eaac3929-fe84-4ddd-9777-a2d20acea93c", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '656' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:08 GMT + Pragma: + - no-cache + RequestId: + - 217b3170-bda4-4a50-87d4-282de33152e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/eaac3929-fe84-4ddd-9777-a2d20acea93c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:09:09 GMT + Pragma: + - no-cache + RequestId: + - fd8b8215-9d70-49bf-8332-559c845eedbe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:10 GMT + Pragma: + - no-cache + RequestId: + - e8de40ce-bcfb-407f-a4b4-5ba10e8c120f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:11 GMT + Pragma: + - no-cache + RequestId: + - 860f9c2e-af5e-4fd6-a889-9c5f1ae650f2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:12 GMT + Pragma: + - no-cache + RequestId: + - 11d71bd7-e3d3-48a8-b604-fab4cf5a3984 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[KQLDashboard].yaml new file mode 100644 index 00000000..23123cdb --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[KQLDashboard].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:39 GMT + Pragma: + - no-cache + RequestId: + - 768c155b-c534-4c24-8410-b21b5c7b85e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:40 GMT + Pragma: + - no-cache + RequestId: + - b0161333-daeb-4d82-b751-8b18233880f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:42 GMT + Pragma: + - no-cache + RequestId: + - 0599488f-c3c7-400e-aad2-ca46a6183ebe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDashboard", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/kqlDashboards + response: + body: + string: '{"id": "bc17b717-2523-4ad8-a7a8-3bec0da9ad44", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - df2374d6-e254-4dc9-8272-f6e419ceb2b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:44 GMT + Pragma: + - no-cache + RequestId: + - c1d08971-a4d7-4c29-a997-b8abe4b59ecd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "bc17b717-2523-4ad8-a7a8-3bec0da9ad44", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:45 GMT + Pragma: + - no-cache + RequestId: + - 1a7b8084-11cc-4ac5-a394-62c5cc61ef82 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/bc17b717-2523-4ad8-a7a8-3bec0da9ad44 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:33:46 GMT + Pragma: + - no-cache + RequestId: + - 2e417151-4d78-4462-a610-a2ae6855e152 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:47 GMT + Pragma: + - no-cache + RequestId: + - 93ec18da-a6be-490c-88af-f5d021631c6c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:47 GMT + Pragma: + - no-cache + RequestId: + - b1e13431-0c74-4125-bfe7-39871612c503 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:48 GMT + Pragma: + - no-cache + RequestId: + - cf7eab8c-959e-4ec1-8c38-8e81ba938b9b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[KQLQueryset].yaml new file mode 100644 index 00000000..9da3c00d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[KQLQueryset].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:48 GMT + Pragma: + - no-cache + RequestId: + - d6147cc0-9155-47ed-917b-e47574a4a3e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:49 GMT + Pragma: + - no-cache + RequestId: + - b32532cb-f6e5-4f0f-b176-ec350ca358ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:50 GMT + Pragma: + - no-cache + RequestId: + - 6dbf96d6-324f-469b-9726-1d72b5044981 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLQueryset", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/kqlQuerysets + response: + body: + string: '{"id": "0d1d0cb8-1d46-4f81-a896-8cca29248653", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8f5d22f4-cb0f-4b19-b088-6c88534df089 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:52 GMT + Pragma: + - no-cache + RequestId: + - 4f78b5e2-3fef-487c-ada3-f01a073fac16 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0d1d0cb8-1d46-4f81-a896-8cca29248653", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:53 GMT + Pragma: + - no-cache + RequestId: + - 2ab57654-8cde-4909-b5da-37337ba17763 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/0d1d0cb8-1d46-4f81-a896-8cca29248653 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:33:54 GMT + Pragma: + - no-cache + RequestId: + - d38407e4-795b-44c9-ae8b-853640f06303 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:55 GMT + Pragma: + - no-cache + RequestId: + - 466f624a-bf17-4d03-9155-632f0adcfffe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:56 GMT + Pragma: + - no-cache + RequestId: + - ac4a6518-e465-4d7f-865b-786776fbe253 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:57 GMT + Pragma: + - no-cache + RequestId: + - 6c77a44b-0fcf-4abd-97c6-fa0d732de465 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Lakehouse].yaml new file mode 100644 index 00000000..9aa449ec --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Lakehouse].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:57 GMT + Pragma: + - no-cache + RequestId: + - f3952761-070b-4596-8cce-61cbfb5b23af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:58 GMT + Pragma: + - no-cache + RequestId: + - 201c1526-46ea-485a-9ea6-22f6b6c5ef41 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:33:59 GMT + Pragma: + - no-cache + RequestId: + - 79b92fbd-2444-47d9-b4c4-44ba53a8265e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Lakehouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/lakehouses + response: + body: + string: '{"id": "15d77fd8-2918-4ef0-91c6-a188ab88ff34", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:02 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b8d6ec02-351f-4c7d-b210-5112ecf92100 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:04 GMT + Pragma: + - no-cache + RequestId: + - 3f024db0-9da4-4b28-890f-13850957ae16 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "15d77fd8-2918-4ef0-91c6-a188ab88ff34", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:04 GMT + Pragma: + - no-cache + RequestId: + - 94bd6857-978f-476f-afad-0e69a3a98971 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/15d77fd8-2918-4ef0-91c6-a188ab88ff34 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:34:05 GMT + Pragma: + - no-cache + RequestId: + - 773aa45c-2fdb-48a2-a9c2-70b35dc0b606 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:06 GMT + Pragma: + - no-cache + RequestId: + - 1953870a-88c1-4faf-8167-2ae28d06ef66 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:07 GMT + Pragma: + - no-cache + RequestId: + - 29e86440-9084-4590-b3e9-bd656124579c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:07 GMT + Pragma: + - no-cache + RequestId: + - e040914a-8eac-4909-bebd-cdc4e8461fbd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MLExperiment].yaml new file mode 100644 index 00000000..cd6e7314 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MLExperiment].yaml @@ -0,0 +1,602 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:08 GMT + Pragma: + - no-cache + RequestId: + - d39686b3-a446-4c99-a136-db71294e933c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:09 GMT + Pragma: + - no-cache + RequestId: + - 63102173-d6ca-40f0-9365-3fc89bf61ae9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:09 GMT + Pragma: + - no-cache + RequestId: + - e7cdecb7-2b3e-4eba-909e-bfbd67eb667b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLExperiment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mlExperiments + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:11 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a40a16d7-f77b-4655-9ba0-f261525ddecd + Pragma: + - no-cache + RequestId: + - d5fe7bf3-a5fa-4090-a4a6-8996b4c664e9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - a40a16d7-f77b-4655-9ba0-f261525ddecd + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a40a16d7-f77b-4655-9ba0-f261525ddecd + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:34:10.9263648", + "lastUpdatedTimeUtc": "2026-01-29T09:34:11.8326195", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:32 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a40a16d7-f77b-4655-9ba0-f261525ddecd/result + Pragma: + - no-cache + RequestId: + - 39abb4e1-007f-47b6-a9f6-a6d38bcb47f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - a40a16d7-f77b-4655-9ba0-f261525ddecd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a40a16d7-f77b-4655-9ba0-f261525ddecd/result + response: + body: + string: '{"id": "bb2dd7c4-69c7-4466-8fc6-f7bce1c33637", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:34:32 GMT + Pragma: + - no-cache + RequestId: + - 17977afd-1e06-4042-b851-124f4fd02d48 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:33 GMT + Pragma: + - no-cache + RequestId: + - 8b948341-e405-4ca0-805b-a44311e42883 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "bb2dd7c4-69c7-4466-8fc6-f7bce1c33637", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:34 GMT + Pragma: + - no-cache + RequestId: + - c58f02ca-8763-4dfb-b280-e8b735fc57da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/bb2dd7c4-69c7-4466-8fc6-f7bce1c33637 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:34:35 GMT + Pragma: + - no-cache + RequestId: + - c0e499b4-2d64-4ede-b914-c439112b62f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:36 GMT + Pragma: + - no-cache + RequestId: + - 53e9c866-446c-4d81-aca5-48f2352a28ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:37 GMT + Pragma: + - no-cache + RequestId: + - 5ebb7816-43ff-490a-9521-18e2ad66d1c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:38 GMT + Pragma: + - no-cache + RequestId: + - d88a0546-8fd5-4703-b284-9dd1137b38ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MLModel].yaml new file mode 100644 index 00000000..47bbee77 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MLModel].yaml @@ -0,0 +1,601 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:39 GMT + Pragma: + - no-cache + RequestId: + - 694dc61a-0531-494e-8a5b-f241d33e419c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:39 GMT + Pragma: + - no-cache + RequestId: + - 79af75b6-bd2b-41eb-bed9-39f923786d5b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:40 GMT + Pragma: + - no-cache + RequestId: + - 5a8b8325-12c9-4f87-9c93-21e01b589b45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLModel", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mlModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:34:41 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5dda005d-91ac-4634-b055-d3f1bb8c1624 + Pragma: + - no-cache + RequestId: + - fd757ea5-5f5b-4586-b620-603ce206d9c3 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 5dda005d-91ac-4634-b055-d3f1bb8c1624 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5dda005d-91ac-4634-b055-d3f1bb8c1624 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:34:41.401052", + "lastUpdatedTimeUtc": "2026-01-29T09:34:41.8073108", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:01 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5dda005d-91ac-4634-b055-d3f1bb8c1624/result + Pragma: + - no-cache + RequestId: + - d252aa3b-0c5a-4693-8c7b-06623ab84353 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 5dda005d-91ac-4634-b055-d3f1bb8c1624 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5dda005d-91ac-4634-b055-d3f1bb8c1624/result + response: + body: + string: '{"id": "c2def888-c428-42f7-ab60-1d4ae6996942", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:35:03 GMT + Pragma: + - no-cache + RequestId: + - fb526e52-afa6-4d31-bf83-bdedb516b0a7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:03 GMT + Pragma: + - no-cache + RequestId: + - caad319e-47d2-489c-81fe-b7c960cac530 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "c2def888-c428-42f7-ab60-1d4ae6996942", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:04 GMT + Pragma: + - no-cache + RequestId: + - 9e3c9f4b-4ea1-4859-9d32-35e8ee4cfc77 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/c2def888-c428-42f7-ab60-1d4ae6996942 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:35:05 GMT + Pragma: + - no-cache + RequestId: + - 649a4cac-f9a9-4505-abb6-01892d572e09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:06 GMT + Pragma: + - no-cache + RequestId: + - 2c55afa9-1e1d-4ec8-a6ed-e47b60c1e187 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:06 GMT + Pragma: + - no-cache + RequestId: + - 7c419df1-2640-46c9-b6e8-3351cb9c856e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:08 GMT + Pragma: + - no-cache + RequestId: + - ea96b731-bff2-46dd-b266-f5cfa7699721 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MirroredDatabase].yaml new file mode 100644 index 00000000..046fe550 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[MirroredDatabase].yaml @@ -0,0 +1,504 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:09 GMT + Pragma: + - no-cache + RequestId: + - 97aa4b1e-acf8-4338-9ee6-b11c569cfe36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:10 GMT + Pragma: + - no-cache + RequestId: + - 612ca6b5-b09d-46b7-90a0-6b23a8aff430 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:10 GMT + Pragma: + - no-cache + RequestId: + - 896fa60b-cfc8-4ec5-84fd-dc54f4a51842 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mirroredDatabases + response: + body: + string: '{"id": "50931750-7347-4181-8316-bea8a858a593", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:13 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 471664fa-5173-4b9f-81d3-af5e5f1acdbb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:13 GMT + Pragma: + - no-cache + RequestId: + - 11a4893f-d963-4b9f-85c3-91c3e7ecd7ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "50931750-7347-4181-8316-bea8a858a593", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:15 GMT + Pragma: + - no-cache + RequestId: + - 3ca5eba8-d989-478c-87e7-e403e15a46b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/50931750-7347-4181-8316-bea8a858a593 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:35:16 GMT + Pragma: + - no-cache + RequestId: + - d0121cb7-38dc-42a4-98cd-be889ed5b7cf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:17 GMT + Pragma: + - no-cache + RequestId: + - 80b094ff-8352-4d1a-b498-b0fd234829d3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:17 GMT + Pragma: + - no-cache + RequestId: + - 5db074b0-e615-4da7-b4a6-cdd425113546 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:18 GMT + Pragma: + - no-cache + RequestId: + - 541edf8e-2e82-4871-ba8b-2e68dc043b8a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Notebook].yaml new file mode 100644 index 00000000..dba7aab2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Notebook].yaml @@ -0,0 +1,604 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:18 GMT + Pragma: + - no-cache + RequestId: + - b9eeca77-7a1f-4443-bbec-50755fd3a29e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:20 GMT + Pragma: + - no-cache + RequestId: + - 4c01d4d8-bf24-497c-83f3-e6aff6914fac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:20 GMT + Pragma: + - no-cache + RequestId: + - ab267f74-b767-4be9-ad2b-e9b0d4d6694a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:22 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9897f162-dccc-43fa-a5f8-44b5016c6fe7 + Pragma: + - no-cache + RequestId: + - 61719ea0-7375-457e-8082-ed949c3d5e0d + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 9897f162-dccc-43fa-a5f8-44b5016c6fe7 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9897f162-dccc-43fa-a5f8-44b5016c6fe7 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:35:22.2510301", + "lastUpdatedTimeUtc": "2026-01-29T09:35:23.5330116", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:43 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9897f162-dccc-43fa-a5f8-44b5016c6fe7/result + Pragma: + - no-cache + RequestId: + - f094778e-a430-4501-945b-d41ab3f8c17c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 9897f162-dccc-43fa-a5f8-44b5016c6fe7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9897f162-dccc-43fa-a5f8-44b5016c6fe7/result + response: + body: + string: '{"id": "cc6fe109-b46e-4717-bc1c-69638e9d05ff", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:35:43 GMT + Pragma: + - no-cache + RequestId: + - df81e739-6cd8-49d3-9c4f-3693df32471e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:44 GMT + Pragma: + - no-cache + RequestId: + - 42fa7b71-fca1-4b57-b7dc-2cc7351cfaf4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "cc6fe109-b46e-4717-bc1c-69638e9d05ff", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:45 GMT + Pragma: + - no-cache + RequestId: + - 6b2e4034-6918-462b-bf53-faccc8899e78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/cc6fe109-b46e-4717-bc1c-69638e9d05ff + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:35:46 GMT + Pragma: + - no-cache + RequestId: + - a18f4884-3433-43f2-bbe2-95e31f3eabfb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:47 GMT + Pragma: + - no-cache + RequestId: + - f7a9e8a2-7455-4899-82d6-4435a7831eb9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:48 GMT + Pragma: + - no-cache + RequestId: + - f1c64303-ae16-4548-ad96-540ecb37b91d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:48 GMT + Pragma: + - no-cache + RequestId: + - f53fba17-b15f-4744-8a36-6707f00872fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Reflex].yaml new file mode 100644 index 00000000..6abf33df --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Reflex].yaml @@ -0,0 +1,501 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:50 GMT + Pragma: + - no-cache + RequestId: + - c22f5d73-fc68-4f2d-99e0-107475deedd7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:51 GMT + Pragma: + - no-cache + RequestId: + - 0c9a84e1-784f-4ba0-9f1c-184a237fb314 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:52 GMT + Pragma: + - no-cache + RequestId: + - 132d9226-ab04-493d-9e2d-c691c8f496f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Reflex", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/reflexes + response: + body: + string: '{"id": "901b0a5f-ba99-465b-aa68-f8cd3e4375f0", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f3057929-a0e7-4a69-9649-5e4db29a4ecf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:54 GMT + Pragma: + - no-cache + RequestId: + - 7576a303-ef67-48b2-ac03-23b6253bb18d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "901b0a5f-ba99-465b-aa68-f8cd3e4375f0", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:55 GMT + Pragma: + - no-cache + RequestId: + - ef681b6c-3edb-45ec-84e8-1ac30610b0ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/901b0a5f-ba99-465b-aa68-f8cd3e4375f0 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:35:57 GMT + Pragma: + - no-cache + RequestId: + - 0b82441f-0b84-46cf-b543-85ca3b7a795c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:57 GMT + Pragma: + - no-cache + RequestId: + - 0e2d7553-b65d-44a1-b4e0-ada78a79d636 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:58 GMT + Pragma: + - no-cache + RequestId: + - 135e44c3-b48f-4896-ac9b-923703987283 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:35:59 GMT + Pragma: + - no-cache + RequestId: + - 314d2e06-5403-4a33-98fa-dff860f5d70a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Report].yaml new file mode 100644 index 00000000..3cf758d9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Report].yaml @@ -0,0 +1,776 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:01 GMT + Pragma: + - no-cache + RequestId: + - d8c61212-6149-4a74-87c9-d7f7f1d42043 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:01 GMT + Pragma: + - no-cache + RequestId: + - f533a509-4cb8-4b0c-ac4f-bae80f271309 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:02 GMT + Pragma: + - no-cache + RequestId: + - c68d6903-bcd3-46a5-aee9-fba608be18ef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001_auto", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2673' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:04 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/39b94e66-e515-4d53-a0ed-4e26123efcbb + Pragma: + - no-cache + RequestId: + - d85c6a7d-4d8c-4f24-a6b7-3d0d4d8e9e43 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 39b94e66-e515-4d53-a0ed-4e26123efcbb + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/39b94e66-e515-4d53-a0ed-4e26123efcbb + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:36:04.2446894", + "lastUpdatedTimeUtc": "2026-01-29T09:36:14.9030794", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/39b94e66-e515-4d53-a0ed-4e26123efcbb/result + Pragma: + - no-cache + RequestId: + - f9b4442f-032e-49a1-af91-d3020e20b2c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 39b94e66-e515-4d53-a0ed-4e26123efcbb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/39b94e66-e515-4d53-a0ed-4e26123efcbb/result + response: + body: + string: '{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:36:25 GMT + Pragma: + - no-cache + RequestId: + - 904f3a8d-a91a-46dd-928d-e536442ba9d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Report", "folderId": null, "definition": {"parts": [{"path": ".platform", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiQmxhbmsiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICIwYmU3ZmJlYi03MTI5LTQ1OWMtODAyYy05NzY4ZGE5ZmVlODIiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3ZlcnNpb25NZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiMi4wLjAiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2VzTWV0YWRhdGEvMS4wLjAvc2NoZW1hLmpzb24iLAogICJwYWdlT3JkZXIiOiBbCiAgICAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCiAgXSwKICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2UvMS4zLjAvc2NoZW1hLmpzb24iLAogICJuYW1lIjogImI4YzVmYjhkNjM1Zjg5ODMyNmM2IiwKICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAiZGlzcGxheU9wdGlvbiI6ICJGaXRUb1BhZ2UiLAogICJoZWlnaHQiOiA3MjAsCiAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICJuYW1lIjogIkNZMjRTVTEwIiwKICAiZGF0YUNvbG9ycyI6IFsKICAgICIjMTE4REZGIiwKICAgICIjMTIyMzlFIiwKICAgICIjRTY2QzM3IiwKICAgICIjNkIwMDdCIiwKICAgICIjRTA0NEE3IiwKICAgICIjNzQ0RUMyIiwKICAgICIjRDlCMzAwIiwKICAgICIjRDY0NTUwIiwKICAgICIjMTk3Mjc4IiwKICAgICIjMUFBQjQwIiwKICAgICIjMTVDNkY0IiwKICAgICIjNDA5MkZGIiwKICAgICIjRkZBMDU4IiwKICAgICIjQkU1REM5IiwKICAgICIjRjQ3MkQwIiwKICAgICIjQjVBMUZGIiwKICAgICIjQzRBMjAwIiwKICAgICIjRkY4MDgwIiwKICAgICIjMDBEQkJDIiwKICAgICIjNUJENjY3IiwKICAgICIjMDA5MUQ1IiwKICAgICIjNDY2OEM1IiwKICAgICIjRkY2MzAwIiwKICAgICIjOTkwMDhBIiwKICAgICIjRUMwMDhDIiwKICAgICIjNTMzMjg1IiwKICAgICIjOTk3MDBBIiwKICAgICIjRkY0MTQxIiwKICAgICIjMUY5QTg1IiwKICAgICIjMjU4OTFDIiwKICAgICIjMDA1N0EyIiwKICAgICIjMDAyMDUwIiwKICAgICIjQzk0RjBGIiwKICAgICIjNDUwRjU0IiwKICAgICIjQjYwMDY0IiwKICAgICIjMzQxMjRGIiwKICAgICIjNkE1QTI5IiwKICAgICIjMUFBQjQwIiwKICAgICIjQkExNDFBIiwKICAgICIjMEMzRDM3IiwKICAgICIjMEI1MTFGIgogIF0sCiAgImZvcmVncm91bmQiOiAiIzI1MjQyMyIsCiAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICJmb3JlZ3JvdW5kTmV1dHJhbFRlcnRpYXJ5IjogIiNCM0IwQUQiLAogICJiYWNrZ3JvdW5kIjogIiNGRkZGRkYiLAogICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgImJhY2tncm91bmROZXV0cmFsIjogIiNDOEM2QzQiLAogICJ0YWJsZUFjY2VudCI6ICIjMTE4REZGIiwKICAiZ29vZCI6ICIjMUFBQjQwIiwKICAibmV1dHJhbCI6ICIjRDlCMzAwIiwKICAiYmFkIjogIiNENjQ1NTQiLAogICJtYXhpbXVtIjogIiMxMThERkYiLAogICJjZW50ZXIiOiAiI0Q5QjMwMCIsCiAgIm1pbmltdW0iOiAiI0RFRUZGRiIsCiAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgImh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidmlzaXRlZEh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidGV4dENsYXNzZXMiOiB7CiAgICAiY2FsbG91dCI6IHsKICAgICAgImZvbnRTaXplIjogNDUsCiAgICAgICJmb250RmFjZSI6ICJESU4iLAogICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgIH0sCiAgICAidGl0bGUiOiB7CiAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICB9LAogICAgImhlYWRlciI6IHsKICAgICAgImZvbnRTaXplIjogMTIsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSBTZW1pYm9sZCIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfSwKICAgICJsYWJlbCI6IHsKICAgICAgImZvbnRTaXplIjogMTAsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfQogIH0sCiAgInZpc3VhbFN0eWxlcyI6IHsKICAgICIqIjogewogICAgICAiKiI6IHsKICAgICAgICAiKiI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIndvcmRXcmFwIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIiwKICAgICAgICAgICAgImNvbmNhdGVuYXRlTGFiZWxzIjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0aXRsZVdyYXAiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInN0cm9rZVdpZHRoIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAid2lkdGgiOiAxCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZENvbG9yIjogewogICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICJjb2xvciI6ICIjZmZmZmZmIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsdGVyQ2FyZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBcHBsaWVkIiwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJmb3JlZ3JvdW5kQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICAiYm9yZGVyIjogdHJ1ZQogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNjYXR0ZXJDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZm9yZWNhc3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIm1hcCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImF6dXJlTWFwIjogewogICAgICAiKiI6IHsKICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVSYWRpdXMiOiA4LAogICAgICAgICAgICAibWluQnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgIm1heFJhZGl1cyI6IDQwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYXJIZWlnaHQiOiAzLAogICAgICAgICAgICAidGhpY2tuZXNzIjogMwogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwaWVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgewogICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJkb251dENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJwb3NpdGlvbiI6ICJSaWdodENlbnRlciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJsYWJlbFN0eWxlIjogIkRhdGEgdmFsdWUsIHBlcmNlbnQgb2YgdG90YWwiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBpdm90VGFibGUiOiB7CiAgICAgICIqIjogewogICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0V4cGFuZENvbGxhcHNlQnV0dG9ucyI6IHRydWUsCiAgICAgICAgICAgICJsZWdhY3lTdHlsZURpc2FibGVkIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICIqIjogewogICAgICAgICJjYXJkIjogWwogICAgICAgICAgewogICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAia3BpIjogewogICAgICAiKiI6IHsKICAgICAgICAidHJlbmRsaW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMjAKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiY2FyZFZpc3VhbCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIm1heFRpbGVzIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgewogICAgICAgICAgICAidHlwZSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImZpeGVkU2l6ZSI6IGZhbHNlCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFkdmFuY2VkU2xpY2VyVmlzdWFsIjogewogICAgICAiKiI6IHsKICAgICAgICAibGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAibWF4VGlsZXMiOiAzCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNsaWNlciI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJoaWRlRGF0ZVBpY2tlckJ1dHRvbiI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJwYWRkaW5nIjogNCwKICAgICAgICAgICAgImFjY2Vzc2liaWxpdHlDb250cmFzdFByb3BlcnRpZXMiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFyZWFDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVTdGFja2VkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInJpYmJvbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJncm91cCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiYmFzaWNTaGFwZSI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNoYXBlIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiaW1hZ2UiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxvY2tBc3BlY3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJhY3Rpb25CdXR0b24iOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJvb2ttYXJrTmF2aWdhdG9yIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJ0ZXh0Ym94IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwYWdlIjogewogICAgICAiKiI6IHsKICAgICAgICAib3V0c3BhY2UiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMTAwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9CiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '21794' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/reports + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:27 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/558f115e-aa78-431a-bfab-8020c58ec3fc + Pragma: + - no-cache + RequestId: + - 519b5108-bfb9-4fb0-a072-8f6f1321ee90 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 558f115e-aa78-431a-bfab-8020c58ec3fc + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/558f115e-aa78-431a-bfab-8020c58ec3fc + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:36:28.0624852", + "lastUpdatedTimeUtc": "2026-01-29T09:36:28.6416554", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/558f115e-aa78-431a-bfab-8020c58ec3fc/result + Pragma: + - no-cache + RequestId: + - 3f3f0c32-787f-4af4-a8c1-63d0064c84f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 558f115e-aa78-431a-bfab-8020c58ec3fc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/558f115e-aa78-431a-bfab-8020c58ec3fc/result + response: + body: + string: '{"id": "7723407d-905c-4fb9-b173-72d41e4349d0", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:36:49 GMT + Pragma: + - no-cache + RequestId: + - 930c3c39-c1c0-4a69-8f8e-64a6f09ec6cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:50 GMT + Pragma: + - no-cache + RequestId: + - a63d62db-4588-41d8-856b-2431eccf6510 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "7723407d-905c-4fb9-b173-72d41e4349d0", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "0be7fbeb-7129-459c-802c-9768da9fee82", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '232' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:51 GMT + Pragma: + - no-cache + RequestId: + - 32760b22-b265-47b6-8b17-ad75cab2ca85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/7723407d-905c-4fb9-b173-72d41e4349d0 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:36:52 GMT + Pragma: + - no-cache + RequestId: + - e0ac856b-7f4d-45bc-b0a2-dffff1d8fdc6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:53 GMT + Pragma: + - no-cache + RequestId: + - d9384a2c-0b33-4b8f-bb3f-e667bede0078 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:54 GMT + Pragma: + - no-cache + RequestId: + - 78b89b59-3d6f-41ac-b6ca-94fa97790679 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:54 GMT + Pragma: + - no-cache + RequestId: + - 57f776cd-3fa3-4c46-8c2f-5bb69d04f9a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SQLDatabase].yaml new file mode 100644 index 00000000..5b8bf57b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SQLDatabase].yaml @@ -0,0 +1,607 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:56 GMT + Pragma: + - no-cache + RequestId: + - ec9c9345-fdf8-4db6-a27d-8bc60c386244 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:56 GMT + Pragma: + - no-cache + RequestId: + - 6b2ff531-da5b-4e41-8126-5965f78d3344 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:57 GMT + Pragma: + - no-cache + RequestId: + - ff59eb6e-46ae-4733-a5cf-97360bfb0a05 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SQLDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/sqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:36:58 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a1f59a15-17ad-4164-aedc-b8cda42b5212 + Pragma: + - no-cache + RequestId: + - 7c570807-b7d6-4ba6-986e-0f13e62050c5 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - a1f59a15-17ad-4164-aedc-b8cda42b5212 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a1f59a15-17ad-4164-aedc-b8cda42b5212 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:36:58.5389737", + "lastUpdatedTimeUtc": "2026-01-29T09:37:15.3414849", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a1f59a15-17ad-4164-aedc-b8cda42b5212/result + Pragma: + - no-cache + RequestId: + - 812fe3b7-7134-44cc-983b-5d267d8099c7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - a1f59a15-17ad-4164-aedc-b8cda42b5212 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a1f59a15-17ad-4164-aedc-b8cda42b5212/result + response: + body: + string: '{"id": "4dc63181-ea72-47c2-befe-6032fe8ae8aa", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:37:20 GMT + Pragma: + - no-cache + RequestId: + - a89965fd-f93c-489f-b927-b194f4ad9e20 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:21 GMT + Pragma: + - no-cache + RequestId: + - 8df2f851-4a92-4679-9ecc-0f90857567e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4dc63181-ea72-47c2-befe-6032fe8ae8aa", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '240' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:22 GMT + Pragma: + - no-cache + RequestId: + - df56a8af-ae80-43fb-9983-5161cac59994 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/4dc63181-ea72-47c2-befe-6032fe8ae8aa + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:37:22 GMT + Pragma: + - no-cache + RequestId: + - 6b1d075a-26c6-488f-bcc6-c124c5b85074 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:23 GMT + Pragma: + - no-cache + RequestId: + - 23068cdc-6abe-4f28-8602-741174c6bab5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:24 GMT + Pragma: + - no-cache + RequestId: + - 9c55fd58-67d8-4bba-9348-3143c9514c8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:25 GMT + Pragma: + - no-cache + RequestId: + - eea36360-6f81-470b-a4b3-7ec570b8e274 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SemanticModel].yaml new file mode 100644 index 00000000..764eb379 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SemanticModel].yaml @@ -0,0 +1,612 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:25 GMT + Pragma: + - no-cache + RequestId: + - 3b6270f4-ef0d-460f-8eca-1f7e651a3205 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:26 GMT + Pragma: + - no-cache + RequestId: + - a5e6d8d9-8579-4e55-9fce-39b946f63259 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:27 GMT + Pragma: + - no-cache + RequestId: + - 053abded-2186-4f21-81cf-390eaa664ac6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2668' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:28 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/af68711d-10af-48fd-9756-fc8883869a1c + Pragma: + - no-cache + RequestId: + - 4bba5c47-274a-418d-9538-20aeac3c52d3 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - af68711d-10af-48fd-9756-fc8883869a1c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/af68711d-10af-48fd-9756-fc8883869a1c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:37:28.5167359", + "lastUpdatedTimeUtc": "2026-01-29T09:37:39.0958406", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/af68711d-10af-48fd-9756-fc8883869a1c/result + Pragma: + - no-cache + RequestId: + - d6cceb00-975d-4260-bcc3-fca20729d1c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - af68711d-10af-48fd-9756-fc8883869a1c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/af68711d-10af-48fd-9756-fc8883869a1c/result + response: + body: + string: '{"id": "5070c457-b1b8-4982-a5a4-9ddebecde469", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:37:50 GMT + Pragma: + - no-cache + RequestId: + - 3460f002-4d98-4ca8-89c4-2358ad4d4210 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:50 GMT + Pragma: + - no-cache + RequestId: + - 35275cd7-bb14-4db3-9ea6-79f9d2a85f1f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "5070c457-b1b8-4982-a5a4-9ddebecde469", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:51 GMT + Pragma: + - no-cache + RequestId: + - 535eb6f2-dcbc-41fb-926a-e0ebcc3fc3b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/5070c457-b1b8-4982-a5a4-9ddebecde469 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:37:53 GMT + Pragma: + - no-cache + RequestId: + - 59cc0431-2af4-47a8-abce-d64f3c6cf72b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:53 GMT + Pragma: + - no-cache + RequestId: + - 02db175d-1ab7-4862-90bf-e05138bd2d52 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:55 GMT + Pragma: + - no-cache + RequestId: + - 88a80282-044f-42c8-8af9-e2060e0f3f53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:55 GMT + Pragma: + - no-cache + RequestId: + - b208ca18-74a9-49a0-89c4-8251de712f36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..43c2cb7f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[SparkJobDefinition].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:56 GMT + Pragma: + - no-cache + RequestId: + - d4bb4752-8142-4b08-8d7f-235cf79b284a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:56 GMT + Pragma: + - no-cache + RequestId: + - 31ed39b3-b89e-435f-b476-5d450eae5edd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:58 GMT + Pragma: + - no-cache + RequestId: + - 35d358e0-695b-4c46-b856-63ebdfe98d51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SparkJobDefinition", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/sparkJobDefinitions + response: + body: + string: '{"id": "be501768-1997-41e6-9da4-6902971f6f33", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '173' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:00 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a26318a5-0451-4c25-b96b-23089a37718f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:37:59 GMT + Pragma: + - no-cache + RequestId: + - 2ee1a2de-b2ed-40ff-a6db-a0641481625b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "be501768-1997-41e6-9da4-6902971f6f33", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '244' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:01 GMT + Pragma: + - no-cache + RequestId: + - 78061a0e-ffe7-4687-9a83-abc737aa8377 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/be501768-1997-41e6-9da4-6902971f6f33 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:38:02 GMT + Pragma: + - no-cache + RequestId: + - e5a6dca5-6cee-4d7b-a32c-eb865e20ee65 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:02 GMT + Pragma: + - no-cache + RequestId: + - 1ce9c8c1-bc53-4e8e-a890-ae1fa64de76f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:03 GMT + Pragma: + - no-cache + RequestId: + - b5c34adf-9781-4700-9f1d-6555d64cf4d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:03 GMT + Pragma: + - no-cache + RequestId: + - 68235354-da68-44ce-8fd6-d5b5302e68d3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[UserDataFunction].yaml new file mode 100644 index 00000000..3f8fa7d4 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[UserDataFunction].yaml @@ -0,0 +1,627 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:12 GMT + Pragma: + - no-cache + RequestId: + - 653579b7-ef42-4c1d-86f9-039f16a5cab0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:13 GMT + Pragma: + - no-cache + RequestId: + - 0ca9a8c3-c379-4ffe-a474-10cd9673559d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:14 GMT + Pragma: + - no-cache + RequestId: + - 72812526-8b4c-4f80-9339-1c3a87ff0e79 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/userdatafunctions + response: + body: + string: '{"id": "3fcb667f-9e2f-4459-a8b5-13518cdaf058", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:16 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 82da5eb2-49d9-4c0b-81cc-691403ebfa55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:18 GMT + Pragma: + - no-cache + RequestId: + - 80f90621-df11-4fb5-8ecc-474f4a9df509 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "3fcb667f-9e2f-4459-a8b5-13518cdaf058", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '654' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:19 GMT + Pragma: + - no-cache + RequestId: + - 916aaab4-2ca8-4019-a302-6012f4c50461 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/3fcb667f-9e2f-4459-a8b5-13518cdaf058 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:09:19 GMT + Pragma: + - no-cache + RequestId: + - cd853ef3-7432-4328-bba6-9f7989800c67 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:20 GMT + Pragma: + - no-cache + RequestId: + - 3bc54564-61b9-4df6-86df-f59d97fba7e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:20 GMT + Pragma: + - no-cache + RequestId: + - 64044b03-0d62-4de9-a5ee-694842ddac84 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "c369e379-7161-4048-86ec-47aa9b144d84", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "a654c2e9-b856-46a5-a713-03db7d9bf9aa", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "153da9cc-563c-4a2d-a6bc-014156b62e9f", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '619' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:09:21 GMT + Pragma: + - no-cache + RequestId: + - 68063165-56cf-4092-ad83-56d0dcc75ff6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Warehouse].yaml new file mode 100644 index 00000000..4b47ba13 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[Warehouse].yaml @@ -0,0 +1,607 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:05 GMT + Pragma: + - no-cache + RequestId: + - ebdc0e7e-274c-456d-9931-1f650462065e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:06 GMT + Pragma: + - no-cache + RequestId: + - 1b6e7d4a-eb76-47ef-bf1c-abb3c270a2b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:06 GMT + Pragma: + - no-cache + RequestId: + - 9197ec94-6802-416a-bb64-95c609cbf4bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Warehouse", "folderId": null, "creationPayload": {"defaultCollation": "Latin1_General_100_BIN2_UTF8"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/warehouses + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:07 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4265bd3e-9969-4243-b02f-2dd96281a1d2 + Pragma: + - no-cache + RequestId: + - b18824b3-888e-428f-a085-c096cf5c0883 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 4265bd3e-9969-4243-b02f-2dd96281a1d2 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4265bd3e-9969-4243-b02f-2dd96281a1d2 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:38:08.446752", + "lastUpdatedTimeUtc": "2026-01-29T09:38:20.6836906", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:28 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4265bd3e-9969-4243-b02f-2dd96281a1d2/result + Pragma: + - no-cache + RequestId: + - 6b91d122-8db7-4772-8c48-ae3bb6fa83af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 4265bd3e-9969-4243-b02f-2dd96281a1d2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4265bd3e-9969-4243-b02f-2dd96281a1d2/result + response: + body: + string: '{"id": "8038d796-9590-4f4e-af09-99b75f0d3868", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:38:29 GMT + Pragma: + - no-cache + RequestId: + - 0d11a824-bb4a-440d-8a99-cfd62db1d418 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:31 GMT + Pragma: + - no-cache + RequestId: + - 4f406018-6a6d-4450-9ccc-53f9d5bffc73 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8038d796-9590-4f4e-af09-99b75f0d3868", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '241' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:31 GMT + Pragma: + - no-cache + RequestId: + - 991f4274-62f8-4379-984c-49d1b7c2e667 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/8038d796-9590-4f4e-af09-99b75f0d3868 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:38:32 GMT + Pragma: + - no-cache + RequestId: + - 280345e1-6e35-4d66-9232-ffec05a627bf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:32 GMT + Pragma: + - no-cache + RequestId: + - 88e1faaf-a702-4db1-a79e-0e5632e1d3f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:34 GMT + Pragma: + - no-cache + RequestId: + - 57583769-e416-482b-b42c-9c7931ecd783 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:38:34 GMT + Pragma: + - no-cache + RequestId: + - 88594929-c0ce-42f0-8bbc-3f7564b25f5f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[CopyJob].yaml new file mode 100644 index 00000000..7115c862 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[CopyJob].yaml @@ -0,0 +1,454 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:15 GMT + Pragma: + - no-cache + RequestId: + - 2adca497-8849-46de-98d6-b7d3911b613a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1138' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:16 GMT + Pragma: + - no-cache + RequestId: + - 717c8808-f048-4de9-8bb7-8496ab4b92b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1138' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:17 GMT + Pragma: + - no-cache + RequestId: + - a94f6855-4ac0-4928-8a38-c921d4ec6d8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CopyJob", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/copyJobs + response: + body: + string: '{"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ea2bce11-1856-4334-9a28-ad77e5b60718 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:22 GMT + Pragma: + - no-cache + RequestId: + - 109ee3d2-9309-4eff-9525-96cda6b0a2a4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:22 GMT + Pragma: + - no-cache + RequestId: + - e2909540-972b-4032-a8c7-22793e308af6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..fa813f5e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[CosmosDBDatabase].yaml @@ -0,0 +1,454 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:05 GMT + Pragma: + - no-cache + RequestId: + - 296f3735-5af9-47e1-a6f4-ab2100719a57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '478' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:05 GMT + Pragma: + - no-cache + RequestId: + - 87aa9b75-159f-4d33-b28d-336bf4368932 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '478' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:06 GMT + Pragma: + - no-cache + RequestId: + - 31978e2c-6148-436a-928d-3ea96c5ff481 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:07 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2a7573ca-1f7b-4171-a3e4-76d60a7590df + Pragma: + - no-cache + RequestId: + - f305b350-f52e-4dd6-8f5f-9d3c410f76cc + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 2a7573ca-1f7b-4171-a3e4-76d60a7590df + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2a7573ca-1f7b-4171-a3e4-76d60a7590df + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T13:08:07.5658318", + "lastUpdatedTimeUtc": "2026-02-03T13:08:14.4122476", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:28 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2a7573ca-1f7b-4171-a3e4-76d60a7590df/result + Pragma: + - no-cache + RequestId: + - 28168717-3f71-4c91-bafc-afe09e5a9d80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 2a7573ca-1f7b-4171-a3e4-76d60a7590df + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2a7573ca-1f7b-4171-a3e4-76d60a7590df/result + response: + body: + string: '{"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 13:08:28 GMT + Pragma: + - no-cache + RequestId: + - 485c0651-d2e1-435c-b788-4d2b5fc193f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:29 GMT + Pragma: + - no-cache + RequestId: + - 03ccf2e6-84ea-416c-af4f-eb389d270cee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "0b658f74-106b-4eab-aca1-fc1313324744", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '526' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:30 GMT + Pragma: + - no-cache + RequestId: + - b4d13764-db81-4671-a090-900d8c367ecd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DataPipeline].yaml new file mode 100644 index 00000000..aed14df7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DataPipeline].yaml @@ -0,0 +1,317 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:07 GMT + Pragma: + - no-cache + RequestId: + - fa349575-cf9c-4788-bd4f-6b0c62991256 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '247' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:07 GMT + Pragma: + - no-cache + RequestId: + - b1cfedc6-f369-461e-9747-d1aa65e1a9b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '247' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:08 GMT + Pragma: + - no-cache + RequestId: + - a980ffe9-2bbd-47b6-8fec-556bfea6610b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/dataPipelines + response: + body: + string: '{"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:12 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 545b82f3-f95c-465c-98b8-4d21035e4213 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:13 GMT + Pragma: + - no-cache + RequestId: + - a2651dbd-6889-4775-a432-14cab085cdf8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '307' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:14 GMT + Pragma: + - no-cache + RequestId: + - 24338bab-bb84-475c-9370-6097ac6514e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Dataflow].yaml new file mode 100644 index 00000000..d7a6b645 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Dataflow].yaml @@ -0,0 +1,467 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:30 GMT + Pragma: + - no-cache + RequestId: + - 14be5c50-f5fd-4436-a7bc-0ce1596653e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:31 GMT + Pragma: + - no-cache + RequestId: + - b486578e-187f-42c7-93fd-6164cfd45831 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:32 GMT + Pragma: + - no-cache + RequestId: + - 4a1c03dd-8db3-4e89-9353-2d899710eaa5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Dataflow", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '106' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/dataflows + response: + body: + string: '{"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '164' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:35 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fa51dce2-e370-445a-ac5c-75cdcbbb3f2a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:35 GMT + Pragma: + - no-cache + RequestId: + - bec6cae1-008d-44d7-9801-02b1d72c3a27 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1268' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:36 GMT + Pragma: + - no-cache + RequestId: + - 105c34fc-beea-4adf-abb1-c51abdc972a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DigitalTwinBuilder].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DigitalTwinBuilder].yaml new file mode 100644 index 00000000..4ca3402d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DigitalTwinBuilder].yaml @@ -0,0 +1,421 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:22 GMT + Pragma: + - no-cache + RequestId: + - 3d12ea73-f727-410d-89a1-d1aa22a594e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '218' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:23 GMT + Pragma: + - no-cache + RequestId: + - 2e42c016-8b01-4bc1-9122-bb80b30db414 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '218' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:23 GMT + Pragma: + - no-cache + RequestId: + - 1d717432-7517-46fe-a63b-384d2b13b284 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DigitalTwinBuilder", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/digitalTwinBuilders + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:26 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c07c220f-7710-46c6-9742-f125bf2bbe3d + Pragma: + - no-cache + RequestId: + - 2c7d5777-e439-4bef-ab24-713823a30378 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - c07c220f-7710-46c6-9742-f125bf2bbe3d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c07c220f-7710-46c6-9742-f125bf2bbe3d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T13:07:25.2629877", + "lastUpdatedTimeUtc": "2026-02-03T13:07:32.4976605", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:47 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c07c220f-7710-46c6-9742-f125bf2bbe3d/result + Pragma: + - no-cache + RequestId: + - 3a5e26da-bee6-4fbe-84b2-d28c9c44e106 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c07c220f-7710-46c6-9742-f125bf2bbe3d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c07c220f-7710-46c6-9742-f125bf2bbe3d/result + response: + body: + string: '{"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 13:07:48 GMT + Pragma: + - no-cache + RequestId: + - bdbfe349-ad93-480c-a9bf-2bc018e8837e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:49 GMT + Pragma: + - no-cache + RequestId: + - a32f598c-6eb2-47d2-8d37-7bf5115f0dde + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '381' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:50 GMT + Pragma: + - no-cache + RequestId: + - 48a49c3e-0a5d-4e19-804f-c08fa6e768e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Environment].yaml new file mode 100644 index 00000000..1cfcbc05 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Environment].yaml @@ -0,0 +1,325 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:14 GMT + Pragma: + - no-cache + RequestId: + - 429cf1d0-15d1-4e09-aa5a-10767902c67c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '307' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:14 GMT + Pragma: + - no-cache + RequestId: + - 591740a2-7ded-4db5-95dc-a65ea5849b9f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '307' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:15 GMT + Pragma: + - no-cache + RequestId: + - 73bfc8fc-b865-4abd-bb76-67c7f5ef0b7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/environments + response: + body: + string: '{"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:17 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f96ba995-9a15-4427-8f73-d7b0efc41fdc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:17 GMT + Pragma: + - no-cache + RequestId: + - b8ef71d4-6577-4932-8cab-7b2baef33b25 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '394' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:18 GMT + Pragma: + - no-cache + RequestId: + - e02aec2d-1c27-49ec-bd7c-1746369c87fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Eventhouse].yaml new file mode 100644 index 00000000..963a56e3 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Eventhouse].yaml @@ -0,0 +1,337 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:19 GMT + Pragma: + - no-cache + RequestId: + - d568c879-8c60-43d4-bfbb-1dedd817f15c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '394' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:20 GMT + Pragma: + - no-cache + RequestId: + - 9baffd46-7ca9-4296-8c17-092a037f7847 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '394' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:20 GMT + Pragma: + - no-cache + RequestId: + - d6477e87-20a1-47a1-97a1-74247e6b74fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/eventhouses + response: + body: + string: '{"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:24 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 922f3dd7-d2b2-4a4d-bdfa-5ea6f91ee51e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:25 GMT + Pragma: + - no-cache + RequestId: + - 9086aab9-9173-4c67-b46f-b9a05692e575 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '475' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:25 GMT + Pragma: + - no-cache + RequestId: + - f0fc308d-6b81-4f88-a770-fe0fefad4fc0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Eventstream].yaml new file mode 100644 index 00000000..94783b5c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Eventstream].yaml @@ -0,0 +1,450 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:26 GMT + Pragma: + - no-cache + RequestId: + - ed076495-580e-418b-9727-badd7119db51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '475' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:26 GMT + Pragma: + - no-cache + RequestId: + - 8d84b2d5-bce4-45f8-8ffa-bba34bff9f3b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '475' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:27 GMT + Pragma: + - no-cache + RequestId: + - 5eb3c890-8fa4-4367-b1ee-3f9cb7c7f1ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventstream", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/eventstreams + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:28 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/24169e38-be43-48be-b384-ac576b1274b0 + Pragma: + - no-cache + RequestId: + - 9c6152c5-296b-4be2-bd85-1506a1911f10 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 24169e38-be43-48be-b384-ac576b1274b0 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/24169e38-be43-48be-b384-ac576b1274b0 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:39:28.7139217", + "lastUpdatedTimeUtc": "2026-01-29T09:39:31.7139388", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/24169e38-be43-48be-b384-ac576b1274b0/result + Pragma: + - no-cache + RequestId: + - 8c18f947-80f1-436a-a871-cb42479c4a73 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 24169e38-be43-48be-b384-ac576b1274b0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/24169e38-be43-48be-b384-ac576b1274b0/result + response: + body: + string: '{"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:39:50 GMT + Pragma: + - no-cache + RequestId: + - 916a26c8-980e-4333-abc5-f2a509ce05e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:50 GMT + Pragma: + - no-cache + RequestId: + - fe6c220f-d98c-4d92-81ee-7607988ed105 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '556' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:51 GMT + Pragma: + - no-cache + RequestId: + - c82dd09a-5405-44d6-bfd4-792f86c73ade + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[GraphQLApi].yaml new file mode 100644 index 00000000..46fc844e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[GraphQLApi].yaml @@ -0,0 +1,461 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:24 GMT + Pragma: + - no-cache + RequestId: + - daecc839-c0e1-4b4c-9ff5-9c7d3f77fa55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:24 GMT + Pragma: + - no-cache + RequestId: + - 8add731b-6720-4ed0-a928-b007e45f2172 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:25 GMT + Pragma: + - no-cache + RequestId: + - 6d6e0ec5-8f83-4e32-9556-ab63e73c2bbe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQLApi", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/graphqlapis + response: + body: + string: '{"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:27 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3cab2510-f928-4132-8b6f-1d684bcfcbae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:28 GMT + Pragma: + - no-cache + RequestId: + - a3102268-a0b0-4761-9ea9-4d69e3cae448 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:29 GMT + Pragma: + - no-cache + RequestId: + - 7d008939-ee62-440d-a5cf-b691e3043349 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[GraphQuerySet].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[GraphQuerySet].yaml new file mode 100644 index 00000000..ba1735a2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[GraphQuerySet].yaml @@ -0,0 +1,341 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:50 GMT + Pragma: + - no-cache + RequestId: + - 23fb9a13-b89b-4f4d-93ce-6fa59d4f7186 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '381' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:52 GMT + Pragma: + - no-cache + RequestId: + - 39fd2fbf-b1e7-4bbf-9d2c-5da758855323 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '381' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:53 GMT + Pragma: + - no-cache + RequestId: + - a61b4aeb-eefa-4643-8f05-4bfc1e8f3d17 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQuerySet", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '111' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/GraphQuerySets + response: + body: + string: '{"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1343e214-5351-46ef-bdf8-17b344a569ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:55 GMT + Pragma: + - no-cache + RequestId: + - 51f9017d-ed06-4906-bec1-785f35222b8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '429' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:55 GMT + Pragma: + - no-cache + RequestId: + - f61ee107-0cbe-4496-b106-e7e62f91acd6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[KQLDashboard].yaml new file mode 100644 index 00000000..dfff9b0e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[KQLDashboard].yaml @@ -0,0 +1,362 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:52 GMT + Pragma: + - no-cache + RequestId: + - cde58057-7dab-4018-b0f5-7549005195d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '556' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:53 GMT + Pragma: + - no-cache + RequestId: + - 51965d1f-807e-42da-b742-909a7048c48b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '556' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:55 GMT + Pragma: + - no-cache + RequestId: + - 14c71eac-bbf5-4a86-88e8-cc7913f18cee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDashboard", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/kqlDashboards + response: + body: + string: '{"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:56 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 948429a9-b9e4-4a8d-a1ea-8afb598b79c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:57 GMT + Pragma: + - no-cache + RequestId: + - 2c65b5ad-990b-43c5-b282-827f0dfbc3bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '598' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:58 GMT + Pragma: + - no-cache + RequestId: + - 9d324ba8-90cf-45f9-8e16-7ac36993edb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[KQLQueryset].yaml new file mode 100644 index 00000000..5f26d800 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[KQLQueryset].yaml @@ -0,0 +1,368 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:39:59 GMT + Pragma: + - no-cache + RequestId: + - 5c9cc03d-7077-4c86-bf2e-ce259b71f2ce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '598' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:00 GMT + Pragma: + - no-cache + RequestId: + - 6594234e-b6ca-4aac-8f61-ab040920c98f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '598' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:01 GMT + Pragma: + - no-cache + RequestId: + - aa293075-45bd-473b-9024-db3fff438387 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLQueryset", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/kqlQuerysets + response: + body: + string: '{"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:03 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 97f18ecf-c593-4434-a58a-0a433d9af69f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:04 GMT + Pragma: + - no-cache + RequestId: + - 90817449-2dd5-4f58-8418-3c91c57023a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '641' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:05 GMT + Pragma: + - no-cache + RequestId: + - b55b5035-4dc8-437e-81e8-69347b5129b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Lakehouse].yaml new file mode 100644 index 00000000..758b9cf5 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Lakehouse].yaml @@ -0,0 +1,374 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:06 GMT + Pragma: + - no-cache + RequestId: + - 555bd01a-8b4a-4205-9465-56070e3c0b39 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '641' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:07 GMT + Pragma: + - no-cache + RequestId: + - 9429de88-8282-41c6-a935-c266ae4ef45c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '641' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:07 GMT + Pragma: + - no-cache + RequestId: + - fd6a5291-ccbd-4797-8ad2-39bd6d10a06d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Lakehouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/lakehouses + response: + body: + string: '{"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:10 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 14be083c-cf8b-4784-bc65-fca33a54ab8e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:11 GMT + Pragma: + - no-cache + RequestId: + - ffa88892-a950-448d-9cbb-cf5cc50a4dc9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '678' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:13 GMT + Pragma: + - no-cache + RequestId: + - 2a3a8212-7ce8-48c6-b9fc-9de69fca7b18 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MLExperiment].yaml new file mode 100644 index 00000000..37d7835d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MLExperiment].yaml @@ -0,0 +1,482 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:13 GMT + Pragma: + - no-cache + RequestId: + - 6b3c06e0-1278-4533-a5fe-253f934c4967 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '678' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:14 GMT + Pragma: + - no-cache + RequestId: + - 8ee95891-e6d6-4396-be9e-7162443c60ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '678' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:15 GMT + Pragma: + - no-cache + RequestId: + - d53f6b0e-a9c8-416e-ba31-5ac2885c7e7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLExperiment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mlExperiments + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:16 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/27cd9652-609a-4aaa-94ff-921ba1f79eb7 + Pragma: + - no-cache + RequestId: + - 116de36f-b989-400c-b89b-625d8f33b165 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 27cd9652-609a-4aaa-94ff-921ba1f79eb7 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/27cd9652-609a-4aaa-94ff-921ba1f79eb7 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:40:16.5205939", + "lastUpdatedTimeUtc": "2026-01-29T09:40:17.395598", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:37 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/27cd9652-609a-4aaa-94ff-921ba1f79eb7/result + Pragma: + - no-cache + RequestId: + - 95383d52-ca37-4af4-a1f0-f90b9aa4a96a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 27cd9652-609a-4aaa-94ff-921ba1f79eb7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/27cd9652-609a-4aaa-94ff-921ba1f79eb7/result + response: + body: + string: '{"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:40:38 GMT + Pragma: + - no-cache + RequestId: + - c109414f-8b53-4940-83e1-5e7891de761d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:39 GMT + Pragma: + - no-cache + RequestId: + - 98eaf7ee-51a8-4179-a815-026a0015ab4e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '755' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:40 GMT + Pragma: + - no-cache + RequestId: + - 87904181-ef1d-4fa2-8ae0-5ea54fdeb1b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MLModel].yaml new file mode 100644 index 00000000..d5bb8587 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MLModel].yaml @@ -0,0 +1,491 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:41 GMT + Pragma: + - no-cache + RequestId: + - fae71317-387e-4f2a-b539-2e01a5a5b7b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '755' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:41 GMT + Pragma: + - no-cache + RequestId: + - 24bcbd86-3b16-422f-8260-6e05af3812fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '755' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:42 GMT + Pragma: + - no-cache + RequestId: + - 59aa5189-06d4-4599-98c4-494088bb7426 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLModel", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mlModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:40:44 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/98aedf14-7fcb-4292-8314-e4feeb25239c + Pragma: + - no-cache + RequestId: + - 9b09c303-a142-4b70-b526-1c3bf2eab95c + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 98aedf14-7fcb-4292-8314-e4feeb25239c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/98aedf14-7fcb-4292-8314-e4feeb25239c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:40:43.8555251", + "lastUpdatedTimeUtc": "2026-01-29T09:40:44.543025", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:04 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/98aedf14-7fcb-4292-8314-e4feeb25239c/result + Pragma: + - no-cache + RequestId: + - 8bb6a1fe-34fe-4f67-9b63-23e61dcc657e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 98aedf14-7fcb-4292-8314-e4feeb25239c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/98aedf14-7fcb-4292-8314-e4feeb25239c/result + response: + body: + string: '{"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:41:05 GMT + Pragma: + - no-cache + RequestId: + - 1e40d4ee-d0c5-41bc-8a61-15c96816ba10 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:06 GMT + Pragma: + - no-cache + RequestId: + - 231760da-da38-4ef4-be52-538ba0f6e457 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '796' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:06 GMT + Pragma: + - no-cache + RequestId: + - 1e926dea-527e-4faa-98b0-6b1fe18b234f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MirroredDatabase].yaml new file mode 100644 index 00000000..c7be9962 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[MirroredDatabase].yaml @@ -0,0 +1,400 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:08 GMT + Pragma: + - no-cache + RequestId: + - 2976139f-c544-4d4b-a13b-4497e996e1af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '796' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:08 GMT + Pragma: + - no-cache + RequestId: + - 9e15f2ae-9bd0-4e20-a3e8-4c2240652bde + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '796' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:09 GMT + Pragma: + - no-cache + RequestId: + - 181d808a-bd3f-4279-b149-e5a15c3c646e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mirroredDatabases + response: + body: + string: '{"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:11 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5d690305-87e8-46a8-b353-1aefe74bcb5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:12 GMT + Pragma: + - no-cache + RequestId: + - e8b7b360-534b-4729-8502-63e92e828eeb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '838' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:13 GMT + Pragma: + - no-cache + RequestId: + - 3c16a1cf-1195-4f84-b572-940fb7bd450b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Notebook].yaml new file mode 100644 index 00000000..cb747a44 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Notebook].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:14 GMT + Pragma: + - no-cache + RequestId: + - e695742e-9312-4155-a3ce-06b171aa9b46 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '838' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:15 GMT + Pragma: + - no-cache + RequestId: + - 89b24465-4927-40c6-bebc-3c9c2e0fd8a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '838' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:16 GMT + Pragma: + - no-cache + RequestId: + - 782421e3-9253-4d02-a7b8-1dc5f277d3f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:16 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8515f388-2583-4a3d-b07c-2a7e5cbbefa4 + Pragma: + - no-cache + RequestId: + - 03cc589a-2c32-4a7e-8962-968754e6e409 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 8515f388-2583-4a3d-b07c-2a7e5cbbefa4 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8515f388-2583-4a3d-b07c-2a7e5cbbefa4 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:41:16.847199", + "lastUpdatedTimeUtc": "2026-01-29T09:41:18.0503392", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:38 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8515f388-2583-4a3d-b07c-2a7e5cbbefa4/result + Pragma: + - no-cache + RequestId: + - cda8f097-1186-4e5a-aab6-4bb77d0f8c2b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 8515f388-2583-4a3d-b07c-2a7e5cbbefa4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8515f388-2583-4a3d-b07c-2a7e5cbbefa4/result + response: + body: + string: '{"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:41:38 GMT + Pragma: + - no-cache + RequestId: + - 8813f159-b07b-424b-a5b8-362475878498 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:39 GMT + Pragma: + - no-cache + RequestId: + - 27388422-ff0b-4f80-8920-d710e9ca5059 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '910' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:40 GMT + Pragma: + - no-cache + RequestId: + - f340d272-6623-4d09-b611-6f87c9b99b70 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Reflex].yaml new file mode 100644 index 00000000..944a7f6f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Reflex].yaml @@ -0,0 +1,415 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:41 GMT + Pragma: + - no-cache + RequestId: + - 79cc2cf9-0320-4a7e-8a1d-34a07a87bbeb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '910' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:41 GMT + Pragma: + - no-cache + RequestId: + - 441edee9-0b9a-4ee4-ac7c-43b35953a048 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '910' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:42 GMT + Pragma: + - no-cache + RequestId: + - c630f656-a77c-47ee-9bb2-7c1f91dccfe5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Reflex", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/reflexes + response: + body: + string: '{"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '164' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:45 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 019242f6-9471-40a7-ad1b-3ad0f5bb9911 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:45 GMT + Pragma: + - no-cache + RequestId: + - faeb7a46-cf0c-4a3d-90a9-c4b5886e8815 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '951' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:46 GMT + Pragma: + - no-cache + RequestId: + - 398c7faf-de77-4dae-8303-4fe7e4e019d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SQLDatabase].yaml new file mode 100644 index 00000000..cbf175ce --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SQLDatabase].yaml @@ -0,0 +1,524 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:47 GMT + Pragma: + - no-cache + RequestId: + - a47a11c9-7f9a-4195-a4b9-70121baafbdb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '951' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:48 GMT + Pragma: + - no-cache + RequestId: + - 0ca40742-0e25-4bd0-8ef0-5ea986b4463f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '951' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:49 GMT + Pragma: + - no-cache + RequestId: + - 8751018c-b6cf-47b0-9217-f5884fa63b38 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SQLDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/sqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:41:51 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e42da9d9-fffa-4d79-a6b8-eb9c3b428657 + Pragma: + - no-cache + RequestId: + - 3ec307b3-f790-43dd-b867-4e1216e94c80 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - e42da9d9-fffa-4d79-a6b8-eb9c3b428657 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e42da9d9-fffa-4d79-a6b8-eb9c3b428657 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:41:50.8852107", + "lastUpdatedTimeUtc": "2026-01-29T09:42:04.9508528", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:12 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e42da9d9-fffa-4d79-a6b8-eb9c3b428657/result + Pragma: + - no-cache + RequestId: + - 728d82e8-1e0a-4cef-857e-f10c99577f74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e42da9d9-fffa-4d79-a6b8-eb9c3b428657 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e42da9d9-fffa-4d79-a6b8-eb9c3b428657/result + response: + body: + string: '{"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:42:13 GMT + Pragma: + - no-cache + RequestId: + - b8966bad-822c-49ad-9628-91e43c973c9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:13 GMT + Pragma: + - no-cache + RequestId: + - da7b2ebf-4a18-4f13-b52d-ae1f8cdc2c58 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1019' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:14 GMT + Pragma: + - no-cache + RequestId: + - 48c06157-c8ae-4377-82f2-863c3af3b4bf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SemanticModel].yaml new file mode 100644 index 00000000..25541834 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SemanticModel].yaml @@ -0,0 +1,539 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:15 GMT + Pragma: + - no-cache + RequestId: + - ba259504-cb59-4df1-9854-e5afc71c4619 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1019' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:16 GMT + Pragma: + - no-cache + RequestId: + - 712db5e4-12df-4e61-a473-b607bbb40f85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1019' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:16 GMT + Pragma: + - no-cache + RequestId: + - a3e55da9-b66d-477e-a7e9-3c78914d87b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2668' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:18 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1f7a63e5-f382-45c0-aa38-c42ec5a14a52 + Pragma: + - no-cache + RequestId: + - cfdafd50-d1c9-438d-8b92-62b87687a658 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 1f7a63e5-f382-45c0-aa38-c42ec5a14a52 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1f7a63e5-f382-45c0-aa38-c42ec5a14a52 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:42:18.4848798", + "lastUpdatedTimeUtc": "2026-01-29T09:42:29.1281319", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:39 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1f7a63e5-f382-45c0-aa38-c42ec5a14a52/result + Pragma: + - no-cache + RequestId: + - bd20b49e-0022-47b2-8ec1-27e8c5eff407 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 1f7a63e5-f382-45c0-aa38-c42ec5a14a52 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1f7a63e5-f382-45c0-aa38-c42ec5a14a52/result + response: + body: + string: '{"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:42:40 GMT + Pragma: + - no-cache + RequestId: + - 21ce01a9-4fd4-40b5-a337-a75d19820bf3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:40 GMT + Pragma: + - no-cache + RequestId: + - fc21b072-9111-4945-b915-500ae68e3f90 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1052' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:41 GMT + Pragma: + - no-cache + RequestId: + - 70fe37e8-1828-435d-9182-5d9665b4f8ec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..eb0a6b45 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[SparkJobDefinition].yaml @@ -0,0 +1,441 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:41 GMT + Pragma: + - no-cache + RequestId: + - 44ae0c93-6298-441d-b632-e9068f6a7a11 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1052' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:42 GMT + Pragma: + - no-cache + RequestId: + - dabca6ef-7262-41a2-a61a-4217b90bf63f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1052' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:43 GMT + Pragma: + - no-cache + RequestId: + - 85f6bd7e-e262-4d53-843d-7cba07d55d13 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SparkJobDefinition", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/sparkJobDefinitions + response: + body: + string: '{"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b8339e5b-f6af-4cfc-84ee-b7d35a12ded4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:46 GMT + Pragma: + - no-cache + RequestId: + - c0b16fc2-04b5-44f0-a694-38cbb5929b46 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:47 GMT + Pragma: + - no-cache + RequestId: + - 091e6020-0fac-464c-a58d-cc9838c00e37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[UserDataFunction].yaml new file mode 100644 index 00000000..1796eba8 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[UserDataFunction].yaml @@ -0,0 +1,347 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:57 GMT + Pragma: + - no-cache + RequestId: + - 614aea45-3a61-4498-9a36-43fee37bf7fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '429' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:58 GMT + Pragma: + - no-cache + RequestId: + - 568613d8-33e0-4173-931c-d1afcc86d34f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '429' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:58 GMT + Pragma: + - no-cache + RequestId: + - 10ca7493-47a1-45c7-beec-2a06c04a16e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/userdatafunctions + response: + body: + string: '{"id": "0950972e-2faa-4809-8944-e227912b77d2", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7849600a-6dab-46cc-bf37-8b47a1387857 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:03 GMT + Pragma: + - no-cache + RequestId: + - 6ca59cae-a722-48b5-a4c8-ea6f3197cf8d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "fa36ad95-cc47-4107-93e5-07acdf481a96", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "5947c048-e82e-4d9d-8050-9784d7a1ee8f", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "6bf98cf6-6c84-490c-8737-eaa4901fe6ec", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "ab1ef74a-0d46-4cb6-9b0a-d87992b43278", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "908b2795-d84e-4e0a-9f41-bdc1e6471582", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "0950972e-2faa-4809-8944-e227912b77d2", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '478' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:08:03 GMT + Pragma: + - no-cache + RequestId: + - d2c80124-1703-4123-b103-89db365dc219 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Warehouse].yaml new file mode 100644 index 00000000..f49cca3b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[Warehouse].yaml @@ -0,0 +1,549 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:47 GMT + Pragma: + - no-cache + RequestId: + - 36d1c028-643e-40b4-b406-db0baf84d85a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:48 GMT + Pragma: + - no-cache + RequestId: + - 2f76e412-1e0b-4bc2-84a4-9ce2664af6eb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:49 GMT + Pragma: + - no-cache + RequestId: + - 1e00bf60-f78f-4317-be82-00f09900d0a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Warehouse", "folderId": null, "creationPayload": {"defaultCollation": "Latin1_General_100_BIN2_UTF8"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/warehouses + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:42:50 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9c5eb4d3-d7b5-4bc0-a287-fe653d414805 + Pragma: + - no-cache + RequestId: + - 5aaa9879-ad7d-4b35-b73c-f9a887ba4f9a + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 9c5eb4d3-d7b5-4bc0-a287-fe653d414805 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9c5eb4d3-d7b5-4bc0-a287-fe653d414805 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:42:51.1486466", + "lastUpdatedTimeUtc": "2026-01-29T09:43:00.2020492", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:12 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9c5eb4d3-d7b5-4bc0-a287-fe653d414805/result + Pragma: + - no-cache + RequestId: + - d7265ad2-da61-482e-b47e-189bbebb3864 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 9c5eb4d3-d7b5-4bc0-a287-fe653d414805 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9c5eb4d3-d7b5-4bc0-a287-fe653d414805/result + response: + body: + string: '{"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:43:12 GMT + Pragma: + - no-cache + RequestId: + - c8f166f4-ac5b-4811-aa28-c6e2c9924c15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:13 GMT + Pragma: + - no-cache + RequestId: + - c61162fa-b566-4cb4-afbf-1c605171eddb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1138' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:15 GMT + Pragma: + - no-cache + RequestId: + - ac0e1eed-063a-402b-92a3-552fa4238b40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[CopyJob].yaml new file mode 100644 index 00000000..69a5e7ba --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[CopyJob].yaml @@ -0,0 +1,826 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:56 GMT + Pragma: + - no-cache + RequestId: + - 27e70803-db90-4394-b042-ef156aa54caa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:57 GMT + Pragma: + - no-cache + RequestId: + - 87feee84-fc1e-4b2a-a7bb-e30db73e4173 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:57 GMT + Pragma: + - no-cache + RequestId: + - fb07d6cc-6194-4a68-ba2c-daa39e8e4afc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CopyJob", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/copyJobs + response: + body: + string: '{"id": "daf6d937-0a27-4902-8453-983b7d85f80e", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:02 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2150a99d-c5e5-4340-8379-d622e6d1c7b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:04 GMT + Pragma: + - no-cache + RequestId: + - 488ee968-b753-4065-917b-3f1691088a78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "daf6d937-0a27-4902-8453-983b7d85f80e", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1433' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:04 GMT + Pragma: + - no-cache + RequestId: + - 234ec384-a883-4d79-96e6-0a172da0a9d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/daf6d937-0a27-4902-8453-983b7d85f80e + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:51:05 GMT + Pragma: + - no-cache + RequestId: + - 4b66bc7b-1447-42c0-a8ad-546f7ca75c14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:05 GMT + Pragma: + - no-cache + RequestId: + - 3776739c-7f35-4e0b-90a7-759ec5129713 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:06 GMT + Pragma: + - no-cache + RequestId: + - dfdefb15-43c0-4dda-902a-6c5762be149a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:07 GMT + Pragma: + - no-cache + RequestId: + - 18fd05ac-39e9-4a66-a406-24ee3de4331b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..deddac74 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[CosmosDBDatabase].yaml @@ -0,0 +1,602 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:05:57 GMT + Pragma: + - no-cache + RequestId: + - 24d6ff40-43b9-4969-86b9-735c9d03b7ea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:05:58 GMT + Pragma: + - no-cache + RequestId: + - 5085ce26-3d26-48cc-b51b-3e4f5592b813 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:05:59 GMT + Pragma: + - no-cache + RequestId: + - f6737e7f-9636-43f5-a52e-6effeae94b2b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:01 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dc18b95b-6ca5-4987-9f86-ecb2c7990521 + Pragma: + - no-cache + RequestId: + - c897b162-119d-40a3-a261-fe52f2b3e14f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - dc18b95b-6ca5-4987-9f86-ecb2c7990521 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dc18b95b-6ca5-4987-9f86-ecb2c7990521 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T13:06:00.8186283", + "lastUpdatedTimeUtc": "2026-02-03T13:06:09.8360781", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:22 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dc18b95b-6ca5-4987-9f86-ecb2c7990521/result + Pragma: + - no-cache + RequestId: + - e835dbf9-4de9-4bc2-9f35-3f405dbf3dd6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - dc18b95b-6ca5-4987-9f86-ecb2c7990521 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dc18b95b-6ca5-4987-9f86-ecb2c7990521/result + response: + body: + string: '{"id": "c2734bfb-a9a7-45e4-8f59-2c24c320ae3e", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 13:06:23 GMT + Pragma: + - no-cache + RequestId: + - 39376ed8-9faf-4dfc-8d14-bd571a050762 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:24 GMT + Pragma: + - no-cache + RequestId: + - b52e179c-89b5-4dd3-93ee-3e17499a54dc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "c2734bfb-a9a7-45e4-8f59-2c24c320ae3e", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:24 GMT + Pragma: + - no-cache + RequestId: + - 0d4c8cc6-21a5-41da-a95a-f010273914db + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/c2734bfb-a9a7-45e4-8f59-2c24c320ae3e + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:06:25 GMT + Pragma: + - no-cache + RequestId: + - 2c342442-90f8-42e5-8018-8b806acb6ce3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:26 GMT + Pragma: + - no-cache + RequestId: + - 65c5dbb9-92e8-4e42-9ad4-81e0e39277c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:26 GMT + Pragma: + - no-cache + RequestId: + - 1d0f6012-f095-4d90-b442-a8a734bc5c29 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:28 GMT + Pragma: + - no-cache + RequestId: + - df51a380-00d5-4352-ada0-100db78741d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DataPipeline].yaml new file mode 100644 index 00000000..5814bf5e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DataPipeline].yaml @@ -0,0 +1,794 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:36 GMT + Pragma: + - no-cache + RequestId: + - 1ea60013-31df-43de-802c-e9449cfef013 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1268' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:37 GMT + Pragma: + - no-cache + RequestId: + - b703455a-da8c-4510-8b94-56b4a43ecb3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1268' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:38 GMT + Pragma: + - no-cache + RequestId: + - c3e59f81-5b1b-49d1-b4d9-d67c566d43b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/dataPipelines + response: + body: + string: '{"id": "b440eed3-35a0-4085-bc6a-41848bc7cf6f", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:41 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 27f53314-466e-4059-8289-5ad327afb22e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:42 GMT + Pragma: + - no-cache + RequestId: + - 2a0a7bff-4beb-4f54-9de3-27f434113356 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b440eed3-35a0-4085-bc6a-41848bc7cf6f", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1339' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:43 GMT + Pragma: + - no-cache + RequestId: + - 80db3be0-6722-4a40-b507-dd77aaf7a0d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/b440eed3-35a0-4085-bc6a-41848bc7cf6f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:43:43 GMT + Pragma: + - no-cache + RequestId: + - 98c4bc63-dbbe-4533-9b3d-24ef10b1fa17 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:44 GMT + Pragma: + - no-cache + RequestId: + - 31d770c7-c463-4ff7-820b-0a0d54357232 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:45 GMT + Pragma: + - no-cache + RequestId: + - b4f3543a-a088-42ce-befe-ad16bb85e8e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:45 GMT + Pragma: + - no-cache + RequestId: + - ef79d72c-fa11-4297-bfc6-92cffd3b1775 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Dataflow].yaml new file mode 100644 index 00000000..1729ae2d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Dataflow].yaml @@ -0,0 +1,827 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:17 GMT + Pragma: + - no-cache + RequestId: + - 3afccdd5-fe4e-4e0b-ad63-80b7727d1b10 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:18 GMT + Pragma: + - no-cache + RequestId: + - 6289c8da-0152-4c74-aece-9dd4faf5dca7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:19 GMT + Pragma: + - no-cache + RequestId: + - 4a69872c-ddd3-4cf2-ab89-bdafce45e5e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Dataflow", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '106' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/dataflows + response: + body: + string: '{"id": "f1aa13a7-8b40-4a68-bbe6-b04a30aeef90", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6c266090-1671-43ba-8788-937317872754 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:22 GMT + Pragma: + - no-cache + RequestId: + - 6b881966-c57b-47a9-9255-aa6bddc64327 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f1aa13a7-8b40-4a68-bbe6-b04a30aeef90", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1432' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:23 GMT + Pragma: + - no-cache + RequestId: + - 3ee348c5-ac7c-447f-bbb9-dc36146dea3d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/f1aa13a7-8b40-4a68-bbe6-b04a30aeef90 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:51:23 GMT + Pragma: + - no-cache + RequestId: + - 66909a57-1433-403d-ac41-387772c25f35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:25 GMT + Pragma: + - no-cache + RequestId: + - 5bbf7285-4478-4a9d-896c-9f0e0771a9a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:25 GMT + Pragma: + - no-cache + RequestId: + - 05cd82af-1e48-4e65-8ec0-c2ccf09ed661 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:26 GMT + Pragma: + - no-cache + RequestId: + - b355c95c-d45d-438a-97d8-7cd90ac37323 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DigitalTwinBuilder].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DigitalTwinBuilder].yaml new file mode 100644 index 00000000..a8beb5bd --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DigitalTwinBuilder].yaml @@ -0,0 +1,614 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:50 GMT + Pragma: + - no-cache + RequestId: + - 5205d88f-088d-46ee-894a-f119bad23ebc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:50 GMT + Pragma: + - no-cache + RequestId: + - 9e4c8ca1-3572-4fc2-b98c-4e7c6c635aff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:51 GMT + Pragma: + - no-cache + RequestId: + - bea2095d-9fb1-4873-ba79-08666e42d5cb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DigitalTwinBuilder", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/digitalTwinBuilders + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:54 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8e2a467-c7d8-425f-8aed-38e596e114a6 + Pragma: + - no-cache + RequestId: + - 5dd34fbd-1756-4174-b1ae-71dcde74ab59 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - b8e2a467-c7d8-425f-8aed-38e596e114a6 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8e2a467-c7d8-425f-8aed-38e596e114a6 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T13:06:53.0149035", + "lastUpdatedTimeUtc": "2026-02-03T13:07:03.5379213", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:16 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8e2a467-c7d8-425f-8aed-38e596e114a6/result + Pragma: + - no-cache + RequestId: + - f5566487-6b80-4b86-b818-2510d7c73f1b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b8e2a467-c7d8-425f-8aed-38e596e114a6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8e2a467-c7d8-425f-8aed-38e596e114a6/result + response: + body: + string: '{"id": "66a90c3b-c2ca-40d4-8ea8-ddc1d2191eea", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 13:07:16 GMT + Pragma: + - no-cache + RequestId: + - 69f28d3b-060a-4812-84d5-17c285db03f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:17 GMT + Pragma: + - no-cache + RequestId: + - 40619211-2835-4721-bd70-ec39cf48d132 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "66a90c3b-c2ca-40d4-8ea8-ddc1d2191eea", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, {"id": "60f8b940-cf78-4bd7-b192-3c4c89d26801", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '318' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:17 GMT + Pragma: + - no-cache + RequestId: + - 21ff56d9-5721-4dd4-a3c7-d411c6e6eb11 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/66a90c3b-c2ca-40d4-8ea8-ddc1d2191eea + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:07:18 GMT + Pragma: + - no-cache + RequestId: + - cf769d9e-bfe8-460f-b66b-6e46c29981ef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:19 GMT + Pragma: + - no-cache + RequestId: + - 9dd5411e-6ace-4202-bba9-ad1e07be8d12 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '218' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:20 GMT + Pragma: + - no-cache + RequestId: + - 4289456f-fdd2-45ae-805e-6799ce1240d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "58b90332-8f80-43e4-b2bb-ef3986a3a85e", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}, + {"id": "9d0b70c5-f3a8-4a74-86d3-29fa9a218e7c", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '218' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:07:21 GMT + Pragma: + - no-cache + RequestId: + - f38d8b94-938a-4fc3-b081-dc6b5810fda9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Environment].yaml new file mode 100644 index 00000000..0ae654b5 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Environment].yaml @@ -0,0 +1,807 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:46 GMT + Pragma: + - no-cache + RequestId: + - 3e76d046-fe29-4f7d-a2a6-01680f59d56b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:47 GMT + Pragma: + - no-cache + RequestId: + - dd23fb54-7f38-4f46-8405-5e7d9c6ed352 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:48 GMT + Pragma: + - no-cache + RequestId: + - f117e2ab-ab93-49a1-87e7-d63be526ef9d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/environments + response: + body: + string: '{"id": "7e81aa30-5cb7-487a-b69f-8d689208be2d", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:49 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fb9ed6cb-76b5-45df-9612-66ef37df31f2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:50 GMT + Pragma: + - no-cache + RequestId: + - f4227499-13c4-441d-b145-604631ec3a1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "7e81aa30-5cb7-487a-b69f-8d689208be2d", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1367' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:51 GMT + Pragma: + - no-cache + RequestId: + - 7eec6888-071c-49ac-af50-561dbe205877 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/7e81aa30-5cb7-487a-b69f-8d689208be2d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:43:52 GMT + Pragma: + - no-cache + RequestId: + - 852ed53b-5a2c-4564-a2d0-6f38811f08b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:53 GMT + Pragma: + - no-cache + RequestId: + - d36226ae-f612-47c3-a136-ab87c71469fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:54 GMT + Pragma: + - no-cache + RequestId: + - 090e3345-1216-4b6f-be79-7ed9334c9d91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:54 GMT + Pragma: + - no-cache + RequestId: + - c5e11ea6-712c-4489-b08c-23f38d568b0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Eventhouse].yaml new file mode 100644 index 00000000..afd90b8d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Eventhouse].yaml @@ -0,0 +1,819 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:56 GMT + Pragma: + - no-cache + RequestId: + - 165d8270-0ad4-41dc-96bd-e2f53f14973e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:56 GMT + Pragma: + - no-cache + RequestId: + - d6b5817d-024a-4025-96d6-49fde006608e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:43:57 GMT + Pragma: + - no-cache + RequestId: + - a21de547-b7d5-4ece-9670-90331fe7ea63 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/eventhouses + response: + body: + string: '{"id": "7c2be6e2-d73e-4f9e-972f-3826f2ba9e92", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:00 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2f6745f1-2c74-4cfd-908f-312818e60bcf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:02 GMT + Pragma: + - no-cache + RequestId: + - b6e6f3d3-b63d-4f89-bb1a-b62e1bbfcdf2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7c2be6e2-d73e-4f9e-972f-3826f2ba9e92", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3689f4f0-1aad-400a-b116-674ee3e12a2d", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1433' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:03 GMT + Pragma: + - no-cache + RequestId: + - 20573da3-9d91-47f8-971b-9211044663f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/7c2be6e2-d73e-4f9e-972f-3826f2ba9e92 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:44:03 GMT + Pragma: + - no-cache + RequestId: + - 1b3fffda-0fb2-46fc-a2c0-b84911510dff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:03 GMT + Pragma: + - no-cache + RequestId: + - 0e2d9d47-972a-43f1-b7ab-1c464f75c776 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:04 GMT + Pragma: + - no-cache + RequestId: + - c07da47d-aef3-43e5-8ee0-36b7fe19f86e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:05 GMT + Pragma: + - no-cache + RequestId: + - 1c3ebeaf-1452-4c9b-b0ff-030f93cc7d67 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Eventstream].yaml new file mode 100644 index 00000000..d593df04 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Eventstream].yaml @@ -0,0 +1,917 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:06 GMT + Pragma: + - no-cache + RequestId: + - 098823c0-3de8-4664-a837-9902666ec27c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:06 GMT + Pragma: + - no-cache + RequestId: + - 5c558167-b766-4cf5-bd07-d397cda0ee6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:06 GMT + Pragma: + - no-cache + RequestId: + - 1689555e-bc42-470a-bfdc-b2d17b60f39b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventstream", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/eventstreams + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:08 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/79e190c5-9222-4888-90c6-117529992c19 + Pragma: + - no-cache + RequestId: + - babcbde9-cc25-4f53-8a4d-e318bd737813 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 79e190c5-9222-4888-90c6-117529992c19 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/79e190c5-9222-4888-90c6-117529992c19 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:44:08.4075936", + "lastUpdatedTimeUtc": "2026-01-29T09:44:11.1419929", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:29 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/79e190c5-9222-4888-90c6-117529992c19/result + Pragma: + - no-cache + RequestId: + - 074822b2-0c49-4f40-a829-7be6cbadc3ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 79e190c5-9222-4888-90c6-117529992c19 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/79e190c5-9222-4888-90c6-117529992c19/result + response: + body: + string: '{"id": "8b3d8e02-8e78-4347-8c59-82ae0d36c009", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:44:29 GMT + Pragma: + - no-cache + RequestId: + - 460901fa-7ede-49e3-b2e4-de1c474de3bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:30 GMT + Pragma: + - no-cache + RequestId: + - 53b47f6e-d6d6-427d-a2c8-f673253febb3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8b3d8e02-8e78-4347-8c59-82ae0d36c009", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1404' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:31 GMT + Pragma: + - no-cache + RequestId: + - c053bfa3-43f3-4f17-99d0-d8e9b0df098a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/8b3d8e02-8e78-4347-8c59-82ae0d36c009 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:44:31 GMT + Pragma: + - no-cache + RequestId: + - 41183ea2-30d3-4c86-b171-282ff4257c89 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:32 GMT + Pragma: + - no-cache + RequestId: + - 840161be-31eb-46b4-90cc-244ee2e6168b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:33 GMT + Pragma: + - no-cache + RequestId: + - f2148799-bf24-4243-b85b-ac8bc29c8fcb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:34 GMT + Pragma: + - no-cache + RequestId: + - cd070818-8723-462f-b9fc-0602f79d0ca2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[GraphQLApi].yaml new file mode 100644 index 00000000..e8be1116 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[GraphQLApi].yaml @@ -0,0 +1,827 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:09 GMT + Pragma: + - no-cache + RequestId: + - 6528d24d-ffcf-4aee-87d8-f1dbc347d5d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:09 GMT + Pragma: + - no-cache + RequestId: + - 064017db-03f7-4cbf-aea1-9f89b985ba82 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:10 GMT + Pragma: + - no-cache + RequestId: + - 2f09b55e-4ad3-40f4-9bdc-5dcde73be0f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQLApi", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/graphqlapis + response: + body: + string: '{"id": "939793e2-2d07-4a09-895a-8bb9d164811c", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:11 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ae72a8cf-ef26-4077-af2c-7ef7cac2185c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:12 GMT + Pragma: + - no-cache + RequestId: + - 4f853880-5a75-45fa-bc5f-bed54add5f5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "939793e2-2d07-4a09-895a-8bb9d164811c", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1437' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:13 GMT + Pragma: + - no-cache + RequestId: + - e40a1cff-a4b4-4a91-aa02-a92151721ee8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/939793e2-2d07-4a09-895a-8bb9d164811c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:51:14 GMT + Pragma: + - no-cache + RequestId: + - 98dd2504-394a-4e4f-8f81-d4e5057a1aa9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:14 GMT + Pragma: + - no-cache + RequestId: + - 5d9bf9ad-b92a-41b3-9345-3af44b60d6b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:16 GMT + Pragma: + - no-cache + RequestId: + - bf3a3945-266a-46d5-a977-c3ec0e9a8b8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:17 GMT + Pragma: + - no-cache + RequestId: + - 9a567801-bef9-45d8-ba49-b9d687b02ce7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[GraphQuerySet].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[GraphQuerySet].yaml new file mode 100644 index 00000000..4ab73920 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[GraphQuerySet].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:40 GMT + Pragma: + - no-cache + RequestId: + - 89bd8553-8389-44be-a394-3e980662167d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:40 GMT + Pragma: + - no-cache + RequestId: + - 94b9f09d-690a-4960-bf08-6daa4ce06543 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:41 GMT + Pragma: + - no-cache + RequestId: + - 7673d53d-4f8d-4665-92c8-bae7db7c2017 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQuerySet", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '111' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/GraphQuerySets + response: + body: + string: '{"id": "d0d23d97-e2fd-470c-9fef-ea21b739317a", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c17677cf-73c4-4303-8e83-7dfac971c7e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:44 GMT + Pragma: + - no-cache + RequestId: + - 1a1f69db-012c-4d48-b8de-18725de4deb5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "d0d23d97-e2fd-470c-9fef-ea21b739317a", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:46 GMT + Pragma: + - no-cache + RequestId: + - 20ac91bc-519d-43c3-93e2-1e6d947a2eea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/d0d23d97-e2fd-470c-9fef-ea21b739317a + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:06:47 GMT + Pragma: + - no-cache + RequestId: + - 712798fb-60ec-4cca-ab0c-44f70f5accc7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:47 GMT + Pragma: + - no-cache + RequestId: + - 112a618a-a1d2-4e6f-8150-62c90dbba30e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:48 GMT + Pragma: + - no-cache + RequestId: + - 450be146-90fe-4c1f-9f3f-547fdece7850 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:48 GMT + Pragma: + - no-cache + RequestId: + - 0ca9e594-0bbc-46e9-a5bb-999fa05965ff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[KQLDashboard].yaml new file mode 100644 index 00000000..9ee8cb4a --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[KQLDashboard].yaml @@ -0,0 +1,817 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:34 GMT + Pragma: + - no-cache + RequestId: + - 6e07b3a0-fe5d-456d-934d-5456a4ed1e20 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:35 GMT + Pragma: + - no-cache + RequestId: + - b22f5155-2920-487c-803c-8fb2ac32bb5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:36 GMT + Pragma: + - no-cache + RequestId: + - 3ac9a18f-b364-43ad-a09a-e10028bf7438 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDashboard", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/kqlDashboards + response: + body: + string: '{"id": "089295bd-929c-4fe4-bfd7-0a8732c78997", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:38 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2e139e77-80c1-4b1a-9dc3-8fad1b486e0e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:39 GMT + Pragma: + - no-cache + RequestId: + - 9f0d3e8b-7cf4-4951-b781-e7f8337e5785 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "089295bd-929c-4fe4-bfd7-0a8732c78997", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1401' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:39 GMT + Pragma: + - no-cache + RequestId: + - 9609bf43-073a-4294-ba67-2645f53708e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/089295bd-929c-4fe4-bfd7-0a8732c78997 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:44:40 GMT + Pragma: + - no-cache + RequestId: + - 177b5aa4-5b70-4895-bf83-a117b479528e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:41 GMT + Pragma: + - no-cache + RequestId: + - 65d71b7b-c432-4842-b798-7b7c87befdaa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:42 GMT + Pragma: + - no-cache + RequestId: + - 78a2877f-1397-41dd-af63-7d94355beeb4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:43 GMT + Pragma: + - no-cache + RequestId: + - aaa1f7ef-95d4-4cb0-87fb-4b3ffd01727f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[KQLQueryset].yaml new file mode 100644 index 00000000..2b6fdfff --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[KQLQueryset].yaml @@ -0,0 +1,817 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:43 GMT + Pragma: + - no-cache + RequestId: + - b30c2e52-4a35-4dc1-be93-dc12a33d4611 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:44 GMT + Pragma: + - no-cache + RequestId: + - a0dcdddf-46e8-4e0d-b41c-aba4d44df4c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:44 GMT + Pragma: + - no-cache + RequestId: + - 8789c3a0-a47d-42bc-a020-637514b946be + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLQueryset", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/kqlQuerysets + response: + body: + string: '{"id": "17a2ae57-d9f8-4a0a-b6a2-07aaa16ecaac", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:46 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 27b0a834-8ad5-48db-9081-c9790833bc23 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:47 GMT + Pragma: + - no-cache + RequestId: + - 3a4c253e-3635-4996-a257-44d154145798 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17a2ae57-d9f8-4a0a-b6a2-07aaa16ecaac", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1400' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:48 GMT + Pragma: + - no-cache + RequestId: + - d123fcc1-1011-4159-9a54-6067a2fa0c91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/17a2ae57-d9f8-4a0a-b6a2-07aaa16ecaac + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:44:49 GMT + Pragma: + - no-cache + RequestId: + - 38d92b27-4acb-467e-b224-85c5caacf4bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:50 GMT + Pragma: + - no-cache + RequestId: + - 4a84372b-71c0-4e0d-8e89-2d7cfea8120f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:51 GMT + Pragma: + - no-cache + RequestId: + - e64e0725-74c2-4258-9ca0-68a6831ce562 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:52 GMT + Pragma: + - no-cache + RequestId: + - f3eedcc3-7bd1-4db3-930b-68a0d87990c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Lakehouse].yaml new file mode 100644 index 00000000..d7ef53f4 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Lakehouse].yaml @@ -0,0 +1,817 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:53 GMT + Pragma: + - no-cache + RequestId: + - f147d761-6abf-4856-a17d-0b1822426acf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:54 GMT + Pragma: + - no-cache + RequestId: + - 74de89b6-f3fb-4bba-a301-02712a05b6ce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:54 GMT + Pragma: + - no-cache + RequestId: + - 6945e902-6c17-4156-b2cd-02323c159ce5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Lakehouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/lakehouses + response: + body: + string: '{"id": "6b6fdf1e-6230-487d-9217-63d8ba115723", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:57 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 56e463be-ea90-473e-b79e-6795476bee96 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:58 GMT + Pragma: + - no-cache + RequestId: + - e31ba7b3-b10a-4d02-bb5b-1382e11acd16 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6b6fdf1e-6230-487d-9217-63d8ba115723", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1399' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:44:58 GMT + Pragma: + - no-cache + RequestId: + - 0b1b3465-26ae-495e-a339-a30dd187fd4b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/6b6fdf1e-6230-487d-9217-63d8ba115723 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:45:00 GMT + Pragma: + - no-cache + RequestId: + - f9cc8cec-0151-4215-b7fc-97097f08ad3b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:01 GMT + Pragma: + - no-cache + RequestId: + - 6727c278-fc5e-4b21-a54b-142c00129ee8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:02 GMT + Pragma: + - no-cache + RequestId: + - 9e71ccb7-0336-43ba-a899-9608f88fbdcf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:04 GMT + Pragma: + - no-cache + RequestId: + - 6be9adb9-4ecf-4319-aae5-e746b25b7fa8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MLExperiment].yaml new file mode 100644 index 00000000..8f7e075f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MLExperiment].yaml @@ -0,0 +1,917 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:05 GMT + Pragma: + - no-cache + RequestId: + - 732fefba-1485-448e-b3de-4aa940c626eb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:05 GMT + Pragma: + - no-cache + RequestId: + - 74ea1c62-0c54-4079-8302-beb6d5db6244 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:06 GMT + Pragma: + - no-cache + RequestId: + - ae863b66-3365-4881-bdd4-c7291603e97c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLExperiment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mlExperiments + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:07 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ce91653c-d38c-4ae6-946c-4de986701c99 + Pragma: + - no-cache + RequestId: + - 92ccd12c-92bd-4a43-a18d-8578b6054cf9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - ce91653c-d38c-4ae6-946c-4de986701c99 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ce91653c-d38c-4ae6-946c-4de986701c99 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:45:07.1512262", + "lastUpdatedTimeUtc": "2026-01-29T09:45:07.8074794", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:28 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ce91653c-d38c-4ae6-946c-4de986701c99/result + Pragma: + - no-cache + RequestId: + - 6f21c28d-4bee-46db-b3a7-aae6ad5a8548 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ce91653c-d38c-4ae6-946c-4de986701c99 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ce91653c-d38c-4ae6-946c-4de986701c99/result + response: + body: + string: '{"id": "70771d66-e878-42fb-9d9c-e20eec6fa691", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:45:29 GMT + Pragma: + - no-cache + RequestId: + - da2ed38b-bf57-45c0-a054-c68bf5a161af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:29 GMT + Pragma: + - no-cache + RequestId: + - d639e1d7-aa36-4f97-9869-6cb74d836088 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70771d66-e878-42fb-9d9c-e20eec6fa691", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1399' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:29 GMT + Pragma: + - no-cache + RequestId: + - 3cb236d4-95ea-44aa-91e1-13d0411de733 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/70771d66-e878-42fb-9d9c-e20eec6fa691 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:45:31 GMT + Pragma: + - no-cache + RequestId: + - 8ecb3ae0-65b1-460f-ae2a-055f969f461f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:31 GMT + Pragma: + - no-cache + RequestId: + - dd288e22-f5ae-4cb9-9c54-b7c3812b0bd9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:32 GMT + Pragma: + - no-cache + RequestId: + - d4465475-4fc2-4be4-aaed-c074008393de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:33 GMT + Pragma: + - no-cache + RequestId: + - 029be757-c69c-4f7a-b77d-6aaf06c732f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MLModel].yaml new file mode 100644 index 00000000..2f81b523 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MLModel].yaml @@ -0,0 +1,916 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:35 GMT + Pragma: + - no-cache + RequestId: + - 531f216d-760a-4d79-ad9e-87d894db1d59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:35 GMT + Pragma: + - no-cache + RequestId: + - 4a8f3099-e5b9-4fe4-8351-45c644de130e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:36 GMT + Pragma: + - no-cache + RequestId: + - 2a56ae3d-da81-40a9-80cf-ede5fca1a9e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLModel", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mlModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:37 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0565d1c3-5aeb-44f2-b356-9dadb07b933f + Pragma: + - no-cache + RequestId: + - 66945226-b7e6-47bb-b081-6eb772dfc0c2 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 0565d1c3-5aeb-44f2-b356-9dadb07b933f + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0565d1c3-5aeb-44f2-b356-9dadb07b933f + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:45:37.5007293", + "lastUpdatedTimeUtc": "2026-01-29T09:45:38.063795", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:45:58 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0565d1c3-5aeb-44f2-b356-9dadb07b933f/result + Pragma: + - no-cache + RequestId: + - d16eda1e-7fa1-435a-b5c7-016f564501be + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 0565d1c3-5aeb-44f2-b356-9dadb07b933f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0565d1c3-5aeb-44f2-b356-9dadb07b933f/result + response: + body: + string: '{"id": "70c1bbc8-9c83-49c1-a0ef-8f4f992b9e53", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:45:59 GMT + Pragma: + - no-cache + RequestId: + - d2242554-0ae5-45af-8634-94e4577c6151 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:00 GMT + Pragma: + - no-cache + RequestId: + - 0e838b0d-331b-495a-8212-c627936253eb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70c1bbc8-9c83-49c1-a0ef-8f4f992b9e53", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1398' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:01 GMT + Pragma: + - no-cache + RequestId: + - aeab10d2-5df5-4053-9f8a-972203be8644 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/70c1bbc8-9c83-49c1-a0ef-8f4f992b9e53 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:46:01 GMT + Pragma: + - no-cache + RequestId: + - 3329e8d8-969b-40e2-a979-69516760dcd0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:02 GMT + Pragma: + - no-cache + RequestId: + - 7b0156fa-ba3a-4380-a836-3e741aedce59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:03 GMT + Pragma: + - no-cache + RequestId: + - c716bdee-5032-40ef-8f7f-80e982d2a7f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:04 GMT + Pragma: + - no-cache + RequestId: + - 170def86-6291-4bea-b743-90f7ed78b10d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MirroredDatabase].yaml new file mode 100644 index 00000000..3f3acf03 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[MirroredDatabase].yaml @@ -0,0 +1,820 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:05 GMT + Pragma: + - no-cache + RequestId: + - a94ff361-3c4e-413e-a26c-96d7cf12af4e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:06 GMT + Pragma: + - no-cache + RequestId: + - 679bb54c-30b1-4225-bc7d-337165fb605b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:07 GMT + Pragma: + - no-cache + RequestId: + - 9295672e-4972-4d11-9251-9e2ee53756ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/mirroredDatabases + response: + body: + string: '{"id": "e67b71a1-2d79-4f9d-b15d-114c32358986", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:09 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0851189b-674a-4a44-a207-4e473c6c27e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:09 GMT + Pragma: + - no-cache + RequestId: + - 9ec200ff-4fdf-4fa9-beb9-8a8c0d84ccf2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "e67b71a1-2d79-4f9d-b15d-114c32358986", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1400' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:11 GMT + Pragma: + - no-cache + RequestId: + - 958406e6-bc69-4346-bfbe-bbfa5372b5ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/e67b71a1-2d79-4f9d-b15d-114c32358986 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:46:11 GMT + Pragma: + - no-cache + RequestId: + - 9386df76-1d50-4367-8bff-be914987ae6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:12 GMT + Pragma: + - no-cache + RequestId: + - d384afd5-e2d3-4be8-95bd-0212f4861944 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:13 GMT + Pragma: + - no-cache + RequestId: + - ed5ab6d0-192a-4ad6-a5aa-bb903adf630f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:13 GMT + Pragma: + - no-cache + RequestId: + - fe728c9c-e87d-4d40-addc-23372926a83d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Notebook].yaml new file mode 100644 index 00000000..17214c66 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Notebook].yaml @@ -0,0 +1,919 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:15 GMT + Pragma: + - no-cache + RequestId: + - d9a96a0f-da48-430d-8ade-fb3d2931d6a9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:15 GMT + Pragma: + - no-cache + RequestId: + - 0cce7bb5-7c70-4349-b6bc-2575e24e23d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:15 GMT + Pragma: + - no-cache + RequestId: + - 43f96295-e349-4260-bf44-1b7537628dc1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:17 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d25fc52-5619-4d4c-85e7-8d6d9346809a + Pragma: + - no-cache + RequestId: + - 4e0d9f38-c624-4f37-a595-d1448cc54823 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 3d25fc52-5619-4d4c-85e7-8d6d9346809a + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d25fc52-5619-4d4c-85e7-8d6d9346809a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:46:17.5599584", + "lastUpdatedTimeUtc": "2026-01-29T09:46:18.6849672", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:38 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d25fc52-5619-4d4c-85e7-8d6d9346809a/result + Pragma: + - no-cache + RequestId: + - 76dda391-9f57-421f-9010-e00d5861457e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 3d25fc52-5619-4d4c-85e7-8d6d9346809a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d25fc52-5619-4d4c-85e7-8d6d9346809a/result + response: + body: + string: '{"id": "80d4203a-6047-4677-83c5-42e73209432a", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:46:39 GMT + Pragma: + - no-cache + RequestId: + - 17bfeba0-2646-47d2-a0ce-4a2f9237deb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:40 GMT + Pragma: + - no-cache + RequestId: + - 1d6a1f17-445f-4397-9f07-3291e89694a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "80d4203a-6047-4677-83c5-42e73209432a", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1398' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:41 GMT + Pragma: + - no-cache + RequestId: + - 1d2470cd-9101-43e9-8be5-064ca1e396f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/80d4203a-6047-4677-83c5-42e73209432a + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:46:41 GMT + Pragma: + - no-cache + RequestId: + - 036d7f8d-8446-4f37-9c0b-498d71db89e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:42 GMT + Pragma: + - no-cache + RequestId: + - 1e2b03aa-13c3-448d-a48b-817f0b5c43a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:42 GMT + Pragma: + - no-cache + RequestId: + - f7a26a72-5499-4985-a34b-ef13e743e8cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:43 GMT + Pragma: + - no-cache + RequestId: + - d6496595-eba8-4f74-afd6-c7ebab7c9c59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Reflex].yaml new file mode 100644 index 00000000..be481126 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Reflex].yaml @@ -0,0 +1,816 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:44 GMT + Pragma: + - no-cache + RequestId: + - b3c9aa1a-ae05-4a1a-8d59-557bd1f0113d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:44 GMT + Pragma: + - no-cache + RequestId: + - 0994c75b-d6fb-4af7-a56a-3418ec583313 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:45 GMT + Pragma: + - no-cache + RequestId: + - 6ae8bab5-dba9-4f59-aca6-60a58d2b0d51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Reflex", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/reflexes + response: + body: + string: '{"id": "f1085715-b07c-4c60-8627-cac3956f9f33", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:47 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b65a8308-ef7c-488a-be27-c6819fda8636 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:48 GMT + Pragma: + - no-cache + RequestId: + - 35ca395b-c5b0-4e9c-8263-a8d92906358e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f1085715-b07c-4c60-8627-cac3956f9f33", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:50 GMT + Pragma: + - no-cache + RequestId: + - b14162d0-ffcf-49bc-9b0f-9a49b8e207ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/f1085715-b07c-4c60-8627-cac3956f9f33 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:46:50 GMT + Pragma: + - no-cache + RequestId: + - dc2cfa02-785e-427c-a7ee-4b784255ae0b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:51 GMT + Pragma: + - no-cache + RequestId: + - dddc74d5-290f-4b64-85bf-10d9dc17aaaf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:52 GMT + Pragma: + - no-cache + RequestId: + - 5cdcd675-1fab-457a-945b-c8e9a1e4993a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:53 GMT + Pragma: + - no-cache + RequestId: + - 28e6a72f-52ac-4f70-bfa1-f89d646310c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Report].yaml new file mode 100644 index 00000000..d4a5b619 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Report].yaml @@ -0,0 +1,1302 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:54 GMT + Pragma: + - no-cache + RequestId: + - a8244164-b349-4276-a652-0a3ee0da69b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:54 GMT + Pragma: + - no-cache + RequestId: + - f15e26b5-9565-4a21-b7e3-66cb2e540fbe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:55 GMT + Pragma: + - no-cache + RequestId: + - 44673e36-0626-401a-921f-4e86cd152728 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001_auto", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2673' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:46:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + Pragma: + - no-cache + RequestId: + - e44f86ad-2cf1-465d-9f2d-c192540f5eb9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 55e7b774-4199-4475-a520-67469fe1a993 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-29T09:46:57.2861243", + "lastUpdatedTimeUtc": "2026-01-29T09:46:57.2861243", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:47:17 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + Pragma: + - no-cache + RequestId: + - dfab2e71-ac64-4cd3-a693-b3c7ca53681b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 55e7b774-4199-4475-a520-67469fe1a993 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-29T09:46:57.2861243", + "lastUpdatedTimeUtc": "2026-01-29T09:46:57.2861243", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:47:38 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + Pragma: + - no-cache + RequestId: + - 23b493b6-346c-4c4c-a17d-9a2a6b1f2269 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 55e7b774-4199-4475-a520-67469fe1a993 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-29T09:46:57.2861243", + "lastUpdatedTimeUtc": "2026-01-29T09:46:57.2861243", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:48:00 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + Pragma: + - no-cache + RequestId: + - 327147c6-6a3a-4381-a0b9-ae90d8e9f374 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 55e7b774-4199-4475-a520-67469fe1a993 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-29T09:46:57.2861243", + "lastUpdatedTimeUtc": "2026-01-29T09:46:57.2861243", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:48:20 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + Pragma: + - no-cache + RequestId: + - 84a0f5f0-85dc-46ed-9b24-1592b68818d9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 55e7b774-4199-4475-a520-67469fe1a993 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:46:57.2861243", + "lastUpdatedTimeUtc": "2026-01-29T09:48:32.1214118", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:48:42 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993/result + Pragma: + - no-cache + RequestId: + - 7046083c-0e97-4d91-8236-a1f61e03a129 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 55e7b774-4199-4475-a520-67469fe1a993 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/55e7b774-4199-4475-a520-67469fe1a993/result + response: + body: + string: '{"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:48:42 GMT + Pragma: + - no-cache + RequestId: + - 26685e08-08df-4d5f-8e5b-088d731ee76f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Report", "folderId": null, "definition": {"parts": [{"path": ".platform", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiQmxhbmsiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICI3ZTg4ZjE2OS0xMDczLTQ4ZGYtODM0NC03MGZmOGMyNzU2YmUiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3ZlcnNpb25NZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiMi4wLjAiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2VzTWV0YWRhdGEvMS4wLjAvc2NoZW1hLmpzb24iLAogICJwYWdlT3JkZXIiOiBbCiAgICAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCiAgXSwKICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2UvMS4zLjAvc2NoZW1hLmpzb24iLAogICJuYW1lIjogImI4YzVmYjhkNjM1Zjg5ODMyNmM2IiwKICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAiZGlzcGxheU9wdGlvbiI6ICJGaXRUb1BhZ2UiLAogICJoZWlnaHQiOiA3MjAsCiAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICJuYW1lIjogIkNZMjRTVTEwIiwKICAiZGF0YUNvbG9ycyI6IFsKICAgICIjMTE4REZGIiwKICAgICIjMTIyMzlFIiwKICAgICIjRTY2QzM3IiwKICAgICIjNkIwMDdCIiwKICAgICIjRTA0NEE3IiwKICAgICIjNzQ0RUMyIiwKICAgICIjRDlCMzAwIiwKICAgICIjRDY0NTUwIiwKICAgICIjMTk3Mjc4IiwKICAgICIjMUFBQjQwIiwKICAgICIjMTVDNkY0IiwKICAgICIjNDA5MkZGIiwKICAgICIjRkZBMDU4IiwKICAgICIjQkU1REM5IiwKICAgICIjRjQ3MkQwIiwKICAgICIjQjVBMUZGIiwKICAgICIjQzRBMjAwIiwKICAgICIjRkY4MDgwIiwKICAgICIjMDBEQkJDIiwKICAgICIjNUJENjY3IiwKICAgICIjMDA5MUQ1IiwKICAgICIjNDY2OEM1IiwKICAgICIjRkY2MzAwIiwKICAgICIjOTkwMDhBIiwKICAgICIjRUMwMDhDIiwKICAgICIjNTMzMjg1IiwKICAgICIjOTk3MDBBIiwKICAgICIjRkY0MTQxIiwKICAgICIjMUY5QTg1IiwKICAgICIjMjU4OTFDIiwKICAgICIjMDA1N0EyIiwKICAgICIjMDAyMDUwIiwKICAgICIjQzk0RjBGIiwKICAgICIjNDUwRjU0IiwKICAgICIjQjYwMDY0IiwKICAgICIjMzQxMjRGIiwKICAgICIjNkE1QTI5IiwKICAgICIjMUFBQjQwIiwKICAgICIjQkExNDFBIiwKICAgICIjMEMzRDM3IiwKICAgICIjMEI1MTFGIgogIF0sCiAgImZvcmVncm91bmQiOiAiIzI1MjQyMyIsCiAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICJmb3JlZ3JvdW5kTmV1dHJhbFRlcnRpYXJ5IjogIiNCM0IwQUQiLAogICJiYWNrZ3JvdW5kIjogIiNGRkZGRkYiLAogICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgImJhY2tncm91bmROZXV0cmFsIjogIiNDOEM2QzQiLAogICJ0YWJsZUFjY2VudCI6ICIjMTE4REZGIiwKICAiZ29vZCI6ICIjMUFBQjQwIiwKICAibmV1dHJhbCI6ICIjRDlCMzAwIiwKICAiYmFkIjogIiNENjQ1NTQiLAogICJtYXhpbXVtIjogIiMxMThERkYiLAogICJjZW50ZXIiOiAiI0Q5QjMwMCIsCiAgIm1pbmltdW0iOiAiI0RFRUZGRiIsCiAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgImh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidmlzaXRlZEh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidGV4dENsYXNzZXMiOiB7CiAgICAiY2FsbG91dCI6IHsKICAgICAgImZvbnRTaXplIjogNDUsCiAgICAgICJmb250RmFjZSI6ICJESU4iLAogICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgIH0sCiAgICAidGl0bGUiOiB7CiAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICB9LAogICAgImhlYWRlciI6IHsKICAgICAgImZvbnRTaXplIjogMTIsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSBTZW1pYm9sZCIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfSwKICAgICJsYWJlbCI6IHsKICAgICAgImZvbnRTaXplIjogMTAsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfQogIH0sCiAgInZpc3VhbFN0eWxlcyI6IHsKICAgICIqIjogewogICAgICAiKiI6IHsKICAgICAgICAiKiI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIndvcmRXcmFwIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIiwKICAgICAgICAgICAgImNvbmNhdGVuYXRlTGFiZWxzIjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0aXRsZVdyYXAiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInN0cm9rZVdpZHRoIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAid2lkdGgiOiAxCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZENvbG9yIjogewogICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICJjb2xvciI6ICIjZmZmZmZmIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsdGVyQ2FyZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBcHBsaWVkIiwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJmb3JlZ3JvdW5kQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICAiYm9yZGVyIjogdHJ1ZQogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNjYXR0ZXJDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZm9yZWNhc3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIm1hcCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImF6dXJlTWFwIjogewogICAgICAiKiI6IHsKICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVSYWRpdXMiOiA4LAogICAgICAgICAgICAibWluQnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgIm1heFJhZGl1cyI6IDQwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYXJIZWlnaHQiOiAzLAogICAgICAgICAgICAidGhpY2tuZXNzIjogMwogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwaWVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgewogICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJkb251dENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJwb3NpdGlvbiI6ICJSaWdodENlbnRlciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJsYWJlbFN0eWxlIjogIkRhdGEgdmFsdWUsIHBlcmNlbnQgb2YgdG90YWwiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBpdm90VGFibGUiOiB7CiAgICAgICIqIjogewogICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0V4cGFuZENvbGxhcHNlQnV0dG9ucyI6IHRydWUsCiAgICAgICAgICAgICJsZWdhY3lTdHlsZURpc2FibGVkIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICIqIjogewogICAgICAgICJjYXJkIjogWwogICAgICAgICAgewogICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAia3BpIjogewogICAgICAiKiI6IHsKICAgICAgICAidHJlbmRsaW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMjAKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiY2FyZFZpc3VhbCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIm1heFRpbGVzIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgewogICAgICAgICAgICAidHlwZSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImZpeGVkU2l6ZSI6IGZhbHNlCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFkdmFuY2VkU2xpY2VyVmlzdWFsIjogewogICAgICAiKiI6IHsKICAgICAgICAibGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAibWF4VGlsZXMiOiAzCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNsaWNlciI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJoaWRlRGF0ZVBpY2tlckJ1dHRvbiI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJwYWRkaW5nIjogNCwKICAgICAgICAgICAgImFjY2Vzc2liaWxpdHlDb250cmFzdFByb3BlcnRpZXMiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFyZWFDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVTdGFja2VkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInJpYmJvbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJncm91cCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiYmFzaWNTaGFwZSI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNoYXBlIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiaW1hZ2UiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxvY2tBc3BlY3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJhY3Rpb25CdXR0b24iOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJvb2ttYXJrTmF2aWdhdG9yIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJ0ZXh0Ym94IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwYWdlIjogewogICAgICAiKiI6IHsKICAgICAgICAib3V0c3BhY2UiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMTAwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9CiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '21794' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/reports + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:48:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f4fe51e9-d27d-4007-b8dc-d06f88852f9f + Pragma: + - no-cache + RequestId: + - 97054081-7215-411b-a7cf-e5970bbc7a3f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - f4fe51e9-d27d-4007-b8dc-d06f88852f9f + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f4fe51e9-d27d-4007-b8dc-d06f88852f9f + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:48:45.1699534", + "lastUpdatedTimeUtc": "2026-01-29T09:48:45.5761786", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f4fe51e9-d27d-4007-b8dc-d06f88852f9f/result + Pragma: + - no-cache + RequestId: + - e6b94ca9-8978-47c0-a276-95b2a5f40013 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f4fe51e9-d27d-4007-b8dc-d06f88852f9f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f4fe51e9-d27d-4007-b8dc-d06f88852f9f/result + response: + body: + string: '{"id": "0c78b6d5-e71e-44c8-975d-6658e1be7018", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:49:06 GMT + Pragma: + - no-cache + RequestId: + - b252454e-bbb5-4a37-bfcd-d9b1f1d58f45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:08 GMT + Pragma: + - no-cache + RequestId: + - 55a34f8c-59c8-46a8-b914-f8f8f9319d41 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0c78b6d5-e71e-44c8-975d-6658e1be7018", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "0be7fbeb-7129-459c-802c-9768da9fee82", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "7e88f169-1073-48df-8344-70ff8c2756be", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260129093925", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", + "type": "Warehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "069d1d2f-433c-44eb-be26-c017a398799c", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260129094348", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129093902", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "bb27247d-5842-4280-bc11-ece193543087", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70355090-c46a-477d-b112-0c71bc845076", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", "type": "Eventstream", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", "type": "MLExperiment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "54611223-76df-4734-8f7d-48ad10311a13", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "27e53bfe-d024-441f-a330-f55491746eb6", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1432' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:08 GMT + Pragma: + - no-cache + RequestId: + - f552d2d7-a571-4160-936d-caab55bed7e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/0c78b6d5-e71e-44c8-975d-6658e1be7018 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:49:10 GMT + Pragma: + - no-cache + RequestId: + - 2039e8ef-b513-41f0-a1ba-95f39db084ce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:10 GMT + Pragma: + - no-cache + RequestId: + - aeeb4065-3eb0-40ad-b59d-cb5c7a7d5ce1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:11 GMT + Pragma: + - no-cache + RequestId: + - d6b88229-b51d-4f0f-b79e-afef47043319 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:12 GMT + Pragma: + - no-cache + RequestId: + - a5cfff02-9814-490a-89f1-80cb72684554 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SQLDatabase].yaml new file mode 100644 index 00000000..e521512b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SQLDatabase].yaml @@ -0,0 +1,929 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:13 GMT + Pragma: + - no-cache + RequestId: + - 1fc334c4-8e3c-401f-96a5-e4dabb675ed2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:14 GMT + Pragma: + - no-cache + RequestId: + - 537fe717-ae47-4ac1-985e-191384e3d099 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:15 GMT + Pragma: + - no-cache + RequestId: + - a547c37b-e0b9-45ff-b84a-4ddb4c8e8965 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SQLDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/sqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:16 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/111fb476-76d9-4536-9150-061d55d19a40 + Pragma: + - no-cache + RequestId: + - 25fea946-6709-4bb3-b734-f0830d243e2b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 111fb476-76d9-4536-9150-061d55d19a40 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/111fb476-76d9-4536-9150-061d55d19a40 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:49:16.3563299", + "lastUpdatedTimeUtc": "2026-01-29T09:49:28.0474179", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:37 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/111fb476-76d9-4536-9150-061d55d19a40/result + Pragma: + - no-cache + RequestId: + - 3147b332-9d14-45dd-b47f-41a6e1d467e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 111fb476-76d9-4536-9150-061d55d19a40 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/111fb476-76d9-4536-9150-061d55d19a40/result + response: + body: + string: '{"id": "480f0ac2-3696-495c-8423-fa058b86d5a5", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:49:38 GMT + Pragma: + - no-cache + RequestId: + - f42c0c79-6136-4947-b31b-2f71c9736025 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:39 GMT + Pragma: + - no-cache + RequestId: + - 57c8f643-abff-4503-ac41-210e5614327d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "2a7595cf-ca15-446a-ba2f-2c7883cc8d35", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "480f0ac2-3696-495c-8423-fa058b86d5a5", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1461' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:39 GMT + Pragma: + - no-cache + RequestId: + - 9b6f76d5-4edb-4ba3-8e4a-903508fb0dea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/480f0ac2-3696-495c-8423-fa058b86d5a5 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:49:40 GMT + Pragma: + - no-cache + RequestId: + - 7e0c2c63-02c0-4f40-9c43-74478b5d395e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:42 GMT + Pragma: + - no-cache + RequestId: + - a912a0c5-aebe-4b70-88a6-43088b415f94 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:42 GMT + Pragma: + - no-cache + RequestId: + - f34b53d4-72a2-4260-8b7e-6c9c41c43f22 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:43 GMT + Pragma: + - no-cache + RequestId: + - 8763cd3e-fe8c-4d2a-ad8f-52e5c56d3b9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SemanticModel].yaml new file mode 100644 index 00000000..af10c9d5 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SemanticModel].yaml @@ -0,0 +1,932 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:44 GMT + Pragma: + - no-cache + RequestId: + - 84502afd-e5aa-4e8d-968b-ea5c27525b59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:45 GMT + Pragma: + - no-cache + RequestId: + - fe9717c9-1b74-4871-b479-624730fb419f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:46 GMT + Pragma: + - no-cache + RequestId: + - f476c096-1b15-4fa6-8587-c30568ab9929 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2668' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:49:47 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7a799c3-0807-4fd0-b5f6-febe817a9959 + Pragma: + - no-cache + RequestId: + - 6f09def9-bad7-4a34-982c-f24a132952d2 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - d7a799c3-0807-4fd0-b5f6-febe817a9959 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7a799c3-0807-4fd0-b5f6-febe817a9959 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:49:47.7232381", + "lastUpdatedTimeUtc": "2026-01-29T09:49:58.3660147", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:08 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7a799c3-0807-4fd0-b5f6-febe817a9959/result + Pragma: + - no-cache + RequestId: + - 97fa1305-da45-41a3-9b36-fde766422b6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - d7a799c3-0807-4fd0-b5f6-febe817a9959 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7a799c3-0807-4fd0-b5f6-febe817a9959/result + response: + body: + string: '{"id": "1f60b7a9-8257-4404-a71d-842ee36ddb9b", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:50:08 GMT + Pragma: + - no-cache + RequestId: + - b43fb641-f84d-405f-bde2-4c65dcaeb5cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:10 GMT + Pragma: + - no-cache + RequestId: + - 2a13d535-df7b-41db-92ea-da239e7b50d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "1f60b7a9-8257-4404-a71d-842ee36ddb9b", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1431' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:11 GMT + Pragma: + - no-cache + RequestId: + - 502a54f1-f87e-4c82-8538-fa20884e19b2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/1f60b7a9-8257-4404-a71d-842ee36ddb9b + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:50:12 GMT + Pragma: + - no-cache + RequestId: + - 627e7277-a435-44d1-b0d4-ce8676aa60fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:13 GMT + Pragma: + - no-cache + RequestId: + - 58a4ced3-9787-474e-a032-8d6cfa2ebc19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:14 GMT + Pragma: + - no-cache + RequestId: + - 1d3d92d7-e31e-4059-b536-8dab984a8689 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:14 GMT + Pragma: + - no-cache + RequestId: + - 6a04f8bd-93dd-4ad2-8927-868a96e1390c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..a79a1a5c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[SparkJobDefinition].yaml @@ -0,0 +1,828 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:16 GMT + Pragma: + - no-cache + RequestId: + - 1008681f-cd43-4c7f-a67f-b1bc36143c32 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:17 GMT + Pragma: + - no-cache + RequestId: + - f4718b15-c4f7-4b8f-895a-1b76672635d9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:18 GMT + Pragma: + - no-cache + RequestId: + - f144d59e-8e0a-47c3-a7bf-ec2f24facc43 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SparkJobDefinition", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/sparkJobDefinitions + response: + body: + string: '{"id": "dcd00c81-aff9-4aa0-97ea-2e67a9eeb1a8", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:19 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - bc687d9d-0d53-4f9b-b061-2d4849aa2d22 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:20 GMT + Pragma: + - no-cache + RequestId: + - 1adf6f7a-b7ab-4567-b250-4cf855198622 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dcd00c81-aff9-4aa0-97ea-2e67a9eeb1a8", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1434' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:21 GMT + Pragma: + - no-cache + RequestId: + - 6435c402-9dd4-4dab-89b0-dd7a23766547 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/dcd00c81-aff9-4aa0-97ea-2e67a9eeb1a8 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:50:22 GMT + Pragma: + - no-cache + RequestId: + - d66ba922-ddb9-4e43-8501-069981a2227b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:23 GMT + Pragma: + - no-cache + RequestId: + - 30f4a77f-4f48-4e02-85ae-65e6954b1e9f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:24 GMT + Pragma: + - no-cache + RequestId: + - 462f2332-d743-49ae-9647-802bec2ffa66 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:24 GMT + Pragma: + - no-cache + RequestId: + - 1e7ff611-c11f-4c90-8190-9ce015a3f4b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[UserDataFunction].yaml new file mode 100644 index 00000000..68c9440b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[UserDataFunction].yaml @@ -0,0 +1,502 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:28 GMT + Pragma: + - no-cache + RequestId: + - f60a0bf4-9b79-43d4-908a-4d3fe2e2155c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:29 GMT + Pragma: + - no-cache + RequestId: + - 05b917de-ac72-4d80-9c24-21536bd9f538 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:30 GMT + Pragma: + - no-cache + RequestId: + - adfba22a-9775-4053-a217-ef726ff27833 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/userdatafunctions + response: + body: + string: '{"id": "11f9d274-7691-4f61-83e9-9b8fa704ce3d", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:34 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 81919927-bd56-49f3-9abd-4d8fed7a846c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:35 GMT + Pragma: + - no-cache + RequestId: + - 0dca2cd2-61c8-4a4c-a514-c3d17373d6cf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": [{"id": "11f9d274-7691-4f61-83e9-9b8fa704ce3d", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "20e4c8f8-f961-49fd-947f-28f477f881fb"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:36 GMT + Pragma: + - no-cache + RequestId: + - 346ac4e2-fbb1-4ea7-90ff-ff7ec8bcc4e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items/11f9d274-7691-4f61-83e9-9b8fa704ce3d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 13:06:36 GMT + Pragma: + - no-cache + RequestId: + - be544188-f14a-4438-bc32-4cad22d48a0e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "20e4c8f8-f961-49fd-947f-28f477f881fb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:37 GMT + Pragma: + - no-cache + RequestId: + - b7e3b0a2-c87a-4bc7-95cf-e2e4ea0b0356 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:38 GMT + Pragma: + - no-cache + RequestId: + - 0576349c-939c-4a4f-a484-3d640efa569e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/20e4c8f8-f961-49fd-947f-28f477f881fb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 13:06:39 GMT + Pragma: + - no-cache + RequestId: + - cea40d8f-3a98-4b18-b382-75e8c96e486b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Warehouse].yaml new file mode 100644 index 00000000..ceafde16 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[Warehouse].yaml @@ -0,0 +1,927 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:26 GMT + Pragma: + - no-cache + RequestId: + - e1270821-267c-4f37-af11-4012e2d8716c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:26 GMT + Pragma: + - no-cache + RequestId: + - 6cc1be62-c338-483e-a739-c6ff088876b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:27 GMT + Pragma: + - no-cache + RequestId: + - f79fbe78-6d8f-4aae-a2ec-7a5618624142 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Warehouse", "folderId": null, "creationPayload": {"defaultCollation": "Latin1_General_100_BIN2_UTF8"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/warehouses + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:28 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/22803cb9-3417-4cb0-bd51-b7186e67038e + Pragma: + - no-cache + RequestId: + - 4f28edf5-6562-4302-8e32-8bdebbbf64da + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 22803cb9-3417-4cb0-bd51-b7186e67038e + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/22803cb9-3417-4cb0-bd51-b7186e67038e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T09:50:28.8558295", + "lastUpdatedTimeUtc": "2026-01-29T09:50:37.9039864", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/22803cb9-3417-4cb0-bd51-b7186e67038e/result + Pragma: + - no-cache + RequestId: + - 7c901d76-7c89-4fa0-a5e7-29ff5043991c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 22803cb9-3417-4cb0-bd51-b7186e67038e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/22803cb9-3417-4cb0-bd51-b7186e67038e/result + response: + body: + string: '{"id": "9e990875-ffd9-4704-8f97-131576d557cf", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 09:50:50 GMT + Pragma: + - no-cache + RequestId: + - 8a6029d9-c39f-41b3-aab2-95cd7071f252 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:51 GMT + Pragma: + - no-cache + RequestId: + - c758f4ab-adfb-4110-897b-379e373b7051 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "9e990875-ffd9-4704-8f97-131576d557cf", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1433' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:52 GMT + Pragma: + - no-cache + RequestId: + - 61c3da87-96b5-48d0-b8bb-b40423b70304 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items/9e990875-ffd9-4704-8f97-131576d557cf + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:50:52 GMT + Pragma: + - no-cache + RequestId: + - df71c1eb-b069-432d-aad9-a0f1a08d5173 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:53 GMT + Pragma: + - no-cache + RequestId: + - 6094f792-63bf-4863-ae93-518249ff248c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:55 GMT + Pragma: + - no-cache + RequestId: + - a5a4828d-78c8-4328-a4ae-9cee4ed4e6ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5bf49d41-ccf2-4662-872c-a1d794eb7eba/items + response: + body: + string: '{"value": [{"id": "0be7fbeb-7129-459c-802c-9768da9fee82", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "8a9513d9-18b0-4c29-8a17-7aeecd1e2976", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "7e88f169-1073-48df-8344-70ff8c2756be", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "63e713bb-d4c4-439f-aac5-e4e9e2f53e6a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "001625fe-8bfb-4e1d-8160-efdb693837e9", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129093925", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "22b02bed-33cc-4ed1-9310-fa75c52c8392", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "a0d992db-d3dd-455c-8611-9219db7dcd3d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "17630c77-b735-44fa-8856-622c62e0a6a7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "dbc2a011-4abd-41c5-a6aa-49cb20c34032", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "069d1d2f-433c-44eb-be26-c017a398799c", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260129094335", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c5917df8-5a54-4b9b-bc6b-7773711cc434", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260129094348", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "eb7b9d42-9795-4ba1-a826-19e0428ead6f", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260129093902", "description": "", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "bb27247d-5842-4280-bc11-ece193543087", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70355090-c46a-477d-b112-0c71bc845076", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "3937bde7-a583-44d3-a080-c450e6b73eff", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "6c0968ea-d88f-44be-aecc-879af2eb47dd", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "70a5f712-b36b-4075-9496-4abdbc9e99c2", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "18f3fd81-30ba-4eea-a774-ebcceba0aff9", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "4f67d819-5ef3-496d-90fd-8488da2eec6b", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "dfe52a7d-e782-4672-bbf5-a30a043360e8", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "8a6bc503-5d1c-4a70-ad5c-4b517816303f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "71e75847-dec3-4d9f-8f7d-28682de67b25", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "ee621e14-0464-4a9a-8dc4-31dc9ae4352c", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "83f68cc5-a668-4447-ac04-f1467f4a6a2e", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b36ffe74-f3a3-4cdd-912a-2b6c6cc129bf", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b32d9b47-6753-4b6c-a19f-c6bb92364243", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, + {"id": "b609aebf-1855-421a-8c0d-f47c326d4340", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "54611223-76df-4734-8f7d-48ad10311a13", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "c3043c0b-05f4-4531-a900-a6ce04f25f81", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "f9bf6cdd-d5bb-4579-9dcd-c832af73b799", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}, {"id": "27e53bfe-d024-441f-a330-f55491746eb6", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260129094335", + "description": "", "workspaceId": "5bf49d41-ccf2-4662-872c-a1d794eb7eba"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:50:56 GMT + Pragma: + - no-cache + RequestId: + - d0ca37cf-3458-419a-8ff4-abcae0352922 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[Dashboard].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[Dashboard].yaml new file mode 100644 index 00000000..b950b515 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[Dashboard].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:27 GMT + Pragma: + - no-cache + RequestId: + - b4b1d619-88de-4a50-aff7-a637669bb8d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:27 GMT + Pragma: + - no-cache + RequestId: + - 7570ac62-25da-4918-a7da-7007cefeacc6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/capacities + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:33 GMT + Pragma: + - no-cache + RequestId: + - d8a979ed-f099-4032-b7d9-ab98e7ffbede + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "capacityId": + "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '122' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "06cb51c8-4fc5-4a4c-8d34-df086ce54f55", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:39 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/06cb51c8-4fc5-4a4c-8d34-df086ce54f55 + Pragma: + - no-cache + RequestId: + - b43a575a-3d08-476c-a57d-ef24a896f34e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "06cb51c8-4fc5-4a4c-8d34-df086ce54f55", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2343' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:39 GMT + Pragma: + - no-cache + RequestId: + - 0fee2ac0-67b5-497a-8c93-271a8951214f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/06cb51c8-4fc5-4a4c-8d34-df086ce54f55/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:40 GMT + Pragma: + - no-cache + RequestId: + - 10d6aaa6-e865-43d2-a50e-a649283b478f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/06cb51c8-4fc5-4a4c-8d34-df086ce54f55/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:41 GMT + Pragma: + - no-cache + RequestId: + - da5c1ef0-42ae-482d-ac92-bf334a588502 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "06cb51c8-4fc5-4a4c-8d34-df086ce54f55", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2343' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:41 GMT + Pragma: + - no-cache + RequestId: + - d33c0793-a016-49f5-a4e0-e781bd434240 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/06cb51c8-4fc5-4a4c-8d34-df086ce54f55/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:42 GMT + Pragma: + - no-cache + RequestId: + - 3632dc54-53e1-4db5-9eb0-0bff432c9e49 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/06cb51c8-4fc5-4a4c-8d34-df086ce54f55 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:51:42 GMT + Pragma: + - no-cache + RequestId: + - a6df33a2-2b8a-4aae-96a0-8bda07002fc7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[Datamart].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[Datamart].yaml new file mode 100644 index 00000000..999dfa4b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[Datamart].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:43 GMT + Pragma: + - no-cache + RequestId: + - 08e395e8-088a-4837-8532-f7b4b4c8f0af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:43 GMT + Pragma: + - no-cache + RequestId: + - f3b0aceb-bc18-46df-adcc-228cf775480a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/capacities + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:49 GMT + Pragma: + - no-cache + RequestId: + - 139a2772-baa8-409f-a69c-a132635a5e1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "capacityId": + "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '122' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "d22d1ff8-49c2-48d9-a67a-0c865134c646", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:59 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/d22d1ff8-49c2-48d9-a67a-0c865134c646 + Pragma: + - no-cache + RequestId: + - bb0c19e3-6fb6-4629-a382-61055455fbf5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "d22d1ff8-49c2-48d9-a67a-0c865134c646", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2345' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:59 GMT + Pragma: + - no-cache + RequestId: + - c20ca2d2-5a51-4108-acb6-e1f1c3033b8c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/d22d1ff8-49c2-48d9-a67a-0c865134c646/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:51:59 GMT + Pragma: + - no-cache + RequestId: + - d631a38f-a419-4cc8-9f9a-ce519c3bbf70 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/d22d1ff8-49c2-48d9-a67a-0c865134c646/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:00 GMT + Pragma: + - no-cache + RequestId: + - 5210384a-6242-43d8-a325-b3466274e824 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "d22d1ff8-49c2-48d9-a67a-0c865134c646", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2345' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:01 GMT + Pragma: + - no-cache + RequestId: + - 3424d2b2-46a6-4b28-ade4-c30649beb247 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/d22d1ff8-49c2-48d9-a67a-0c865134c646/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:01 GMT + Pragma: + - no-cache + RequestId: + - 441e3b30-a3fa-4dd4-baa4-298431469e06 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/d22d1ff8-49c2-48d9-a67a-0c865134c646 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:52:01 GMT + Pragma: + - no-cache + RequestId: + - ce319392-cecd-482a-9e7f-04c74d1a7465 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[MirroredWarehouse].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[MirroredWarehouse].yaml new file mode 100644 index 00000000..4e8810a3 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[MirroredWarehouse].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:02 GMT + Pragma: + - no-cache + RequestId: + - 41256227-34a2-4b77-8663-5c417ce88362 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:03 GMT + Pragma: + - no-cache + RequestId: + - 8daa0309-a43d-41d0-82e4-b2199a2ab62e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/capacities + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '426' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:08 GMT + Pragma: + - no-cache + RequestId: + - 07cf2b27-e119-40ee-ab92-b13fe868a57d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "capacityId": + "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '122' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "a8643ed5-81e3-424f-9668-a03912297218", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:17 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/a8643ed5-81e3-424f-9668-a03912297218 + Pragma: + - no-cache + RequestId: + - a691f269-b981-4717-a251-10005ba5fc81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "a8643ed5-81e3-424f-9668-a03912297218", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2340' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:17 GMT + Pragma: + - no-cache + RequestId: + - a3f7c3f8-b07d-4bbf-a59e-bc216a4790cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/a8643ed5-81e3-424f-9668-a03912297218/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:18 GMT + Pragma: + - no-cache + RequestId: + - b8cad16a-f579-4ab2-95e2-375656effe64 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/a8643ed5-81e3-424f-9668-a03912297218/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:19 GMT + Pragma: + - no-cache + RequestId: + - 210da1a7-7713-4a4d-bef2-a69076db7372 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "a8643ed5-81e3-424f-9668-a03912297218", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2340' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:19 GMT + Pragma: + - no-cache + RequestId: + - 05e6162e-e65d-4173-aaa3-f6609298bdcb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/a8643ed5-81e3-424f-9668-a03912297218/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:20 GMT + Pragma: + - no-cache + RequestId: + - 133f32eb-91f6-4204-92ad-13a277619770 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/a8643ed5-81e3-424f-9668-a03912297218 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:52:21 GMT + Pragma: + - no-cache + RequestId: + - cf49f295-2c7a-46d8-bfb1-ea0d865c86b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[PaginatedReport].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[PaginatedReport].yaml new file mode 100644 index 00000000..d34bae01 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[PaginatedReport].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:22 GMT + Pragma: + - no-cache + RequestId: + - c68d0750-f27f-48d8-8cb3-a573b03030f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:22 GMT + Pragma: + - no-cache + RequestId: + - caa533f3-b36a-4929-8927-790e5e23c51e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/capacities + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '424' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:28 GMT + Pragma: + - no-cache + RequestId: + - f7c29308-48a3-4e7f-b2f0-cb151d5f613c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "capacityId": + "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '122' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "489fd858-3bbd-4944-8996-5384386dbb9f", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:38 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/489fd858-3bbd-4944-8996-5384386dbb9f + Pragma: + - no-cache + RequestId: + - ea261981-86ba-45e2-8af8-10ec32ac26af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "489fd858-3bbd-4944-8996-5384386dbb9f", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2340' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:39 GMT + Pragma: + - no-cache + RequestId: + - eaf56b20-dec5-46d1-9dac-363aff853426 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/489fd858-3bbd-4944-8996-5384386dbb9f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:40 GMT + Pragma: + - no-cache + RequestId: + - 2c2e34a6-86b5-4aba-9f74-efc1e3957b8d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/489fd858-3bbd-4944-8996-5384386dbb9f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:40 GMT + Pragma: + - no-cache + RequestId: + - dfe5d299-368d-4e0e-961f-b94f7ab682c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "489fd858-3bbd-4944-8996-5384386dbb9f", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2340' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:42 GMT + Pragma: + - no-cache + RequestId: + - f91c91c8-030e-4240-a519-bbbdcf9b7dc9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/489fd858-3bbd-4944-8996-5384386dbb9f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:42 GMT + Pragma: + - no-cache + RequestId: + - 706c75a9-6ca4-4074-b061-7f6740c36203 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/489fd858-3bbd-4944-8996-5384386dbb9f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:52:43 GMT + Pragma: + - no-cache + RequestId: + - 132bec82-a579-4206-9ce4-0596a45eb6f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[SQLEndpoint].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[SQLEndpoint].yaml new file mode 100644 index 00000000..2c63fba0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_unsupported_item_failure[SQLEndpoint].yaml @@ -0,0 +1,508 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:44 GMT + Pragma: + - no-cache + RequestId: + - 62d32001-533d-4105-88af-d23aedb585ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:44 GMT + Pragma: + - no-cache + RequestId: + - 4db8e7f1-18fb-445c-8130-79f0a084f811 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/capacities + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:50 GMT + Pragma: + - no-cache + RequestId: + - 41f0027d-2317-4f5d-916f-119179915c35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "capacityId": + "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '122' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "f7c73ae5-dd53-49a9-85db-2d50a61fa170", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:52:58 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/f7c73ae5-dd53-49a9-85db-2d50a61fa170 + Pragma: + - no-cache + RequestId: + - ac5b7199-1dc8-45ba-bcb9-9188cf1bd9ff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "f7c73ae5-dd53-49a9-85db-2d50a61fa170", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:53:00 GMT + Pragma: + - no-cache + RequestId: + - d36f5d83-6e54-405f-8bb3-80fa2b86d735 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f7c73ae5-dd53-49a9-85db-2d50a61fa170/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:53:01 GMT + Pragma: + - no-cache + RequestId: + - 0731d9c8-0462-4b65-bad7-ddd9a38238d3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f7c73ae5-dd53-49a9-85db-2d50a61fa170/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:53:01 GMT + Pragma: + - no-cache + RequestId: + - 3ea7f294-7d02-4e90-b8ef-59b7b30129df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5bf49d41-ccf2-4662-872c-a1d794eb7eba", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}, + {"id": "f7c73ae5-dd53-49a9-85db-2d50a61fa170", "displayName": "fabcli000001", + "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:53:02 GMT + Pragma: + - no-cache + RequestId: + - 0270b59d-ecb5-46bc-b4cc-81f9b11a1366 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f7c73ae5-dd53-49a9-85db-2d50a61fa170/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 09:53:03 GMT + Pragma: + - no-cache + RequestId: + - 0d393b9b-115e-4968-b5ae-55b4f78535c7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/f7c73ae5-dd53-49a9-85db-2d50a61fa170 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 09:53:04 GMT + Pragma: + - no-cache + RequestId: + - 0ec1aabe-4c31-41e9-9ec9-2d9730551a36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/test_rm.py b/tests/test_commands/test_rm.py index 8bfb48a0..aef6c99a 100644 --- a/tests/test_commands/test_rm.py +++ b/tests/test_commands/test_rm.py @@ -25,13 +25,17 @@ from tests.test_commands.data.static_test_data import StaticTestData from tests.test_commands.processors import generate_random_string from tests.test_commands.utils import cli_path_join +from tests.test_commands.conftest import custom_parametrize class TestRM: # region ITEM + + @custom_parametrize def test_rm_item_success( self, workspace, + item_type, cli_executor, mock_questionary_print, mock_print_warning, @@ -40,31 +44,33 @@ def test_rm_item_success( cassette_name, ): # Setup - notebook = set_entity_metadata( - vcr_instance, cassette_name, "Notebook", workspace.full_path + item = set_entity_metadata( + vcr_instance, cassette_name, item_type, workspace.full_path ) - mkdir(notebook.full_path) + mkdir(item.full_path) mock_print_done.reset_mock() # Execute command - cli_executor.exec_command(f"rm {notebook.full_path} --force") + cli_executor.exec_command(f"rm {item.full_path} --force") # Assert mock_print_warning.assert_called() mock_questionary_print.assert_called() mock_print_done.assert_called_once() _assert_strings_in_mock_calls( - [notebook.display_name], True, mock_questionary_print.mock_calls + [item.display_name], True, mock_questionary_print.mock_calls ) _assert_strings_in_mock_calls( - [notebook.display_name], True, mock_print_done.mock_calls + [item.display_name], True, mock_print_done.mock_calls ) - _assert_not_found(notebook.full_path) + _assert_not_found(item.full_path) + @custom_parametrize def test_rm_item_without_force_success( self, workspace, + item_type, cli_executor, mock_questionary_print, mock_print_done, @@ -72,10 +78,10 @@ def test_rm_item_without_force_success( cassette_name, ): # Setup - notebook = set_entity_metadata( - vcr_instance, cassette_name, "Notebook", workspace.full_path + item = set_entity_metadata( + vcr_instance, cassette_name, item_type, workspace.full_path ) - mkdir(notebook.full_path) + mkdir(item.full_path) # Reset mocks mock_print_done.reset_mock() mock_questionary_print.reset_mock() @@ -84,24 +90,36 @@ def test_rm_item_without_force_success( mock_confirm.return_value.ask.return_value = True # Execute command - cli_executor.exec_command(f"rm {notebook.full_path}") + cli_executor.exec_command(f"rm {item.full_path}") # Assert mock_confirm.assert_called_once() mock_questionary_print.assert_called_once() mock_print_done.assert_called_once() _assert_strings_in_mock_calls( - [notebook.display_name], True, mock_questionary_print.mock_calls + [item.display_name], True, mock_questionary_print.mock_calls ) _assert_strings_in_mock_calls( - [notebook.display_name], True, mock_print_done.mock_calls - ) - - _assert_not_found(notebook.full_path) - + [item.display_name], True, mock_print_done.mock_calls + ) + + _assert_not_found(item.full_path) + + @pytest.mark.parametrize("item_type", [ + ItemType.DATA_PIPELINE, + ItemType.ENVIRONMENT, ItemType.EVENTHOUSE, ItemType.EVENTSTREAM, + ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, + ItemType.LAKEHOUSE, ItemType.ML_EXPERIMENT, ItemType.ML_MODEL, + ItemType.MIRRORED_DATABASE, ItemType.NOTEBOOK, + ItemType.REFLEX, ItemType.SQL_DATABASE, ItemType.SEMANTIC_MODEL, + ItemType.SPARK_JOB_DEFINITION, ItemType.WAREHOUSE, ItemType.COPYJOB, + ItemType.GRAPHQLAPI, ItemType.DATAFLOW, ItemType.COSMOS_DB_DATABASE, + ItemType.USER_DATA_FUNCTION, ItemType.GRAPH_QUERY_SET, ItemType.DIGITAL_TWIN_BUILDER + ]) def test_rm_item_without_force_cancel_operation_success( self, workspace, + item_type, cli_executor, mock_questionary_print, mock_print_done, @@ -110,10 +128,10 @@ def test_rm_item_without_force_cancel_operation_success( cassette_name, ): # Setup - notebook = set_entity_metadata( - vcr_instance, cassette_name, "Notebook", workspace.full_path + item = set_entity_metadata( + vcr_instance, cassette_name, item_type, workspace.full_path ) - mkdir(notebook.full_path) + mkdir(item.full_path) # Reset mocks mock_print_done.reset_mock() mock_questionary_print.reset_mock() @@ -122,7 +140,7 @@ def test_rm_item_without_force_cancel_operation_success( mock_confirm.return_value.ask.return_value = False # Execute command - cli_executor.exec_command(f"rm {notebook.full_path}") + cli_executor.exec_command(f"rm {item.full_path}") # Assert mock_print_warning.assert_called_once() @@ -130,6 +148,35 @@ def test_rm_item_without_force_cancel_operation_success( mock_questionary_print.assert_not_called() mock_print_done.assert_not_called() + @pytest.mark.parametrize("unsupported_item_type", [ + ItemType.DASHBOARD, + ItemType.DATAMART, + ItemType.MIRRORED_WAREHOUSE, + ItemType.PAGINATED_REPORT, + ItemType.SQL_ENDPOINT, + ]) + def test_rm_unsupported_item_failure( + self, + unsupported_item_type, + workspace_factory, + cli_executor, + assert_fabric_cli_error, + vcr_instance, + cassette_name, + ): + workspace = workspace_factory() + + # Create unsupported item metadata + item_display_name = generate_random_string(vcr_instance, cassette_name) + item_name = f"{item_display_name}.{unsupported_item_type}" + item_full_path = cli_path_join(workspace.full_path, item_name) + + # Execute command + cli_executor.exec_command(f"rm {item_full_path} --force") + + # Assert + assert_fabric_cli_error(constant.ERROR_NOT_FOUND) + # endregion # region WORKSPACE